Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 109.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8523, allocations: 160.7 MB / 1.213 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003042/0.8554, allocations: 1.503 MB / 1.214 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.8568, allocations: 0.7281 MB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.8568, allocations: 3.938 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.8569, allocations: 4.688 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.8569, allocations: 13.42 kB / 1.215 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.8575, allocations: 125.4 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.8576, allocations: 72.81 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.8577, allocations: 11.27 kB / 1.215 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.8578, allocations: 25.58 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.8579, allocations: 37.42 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.8579, allocations: 6.156 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.8582, allocations: 102.5 kB / 1.215 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.8582, allocations: 15.27 kB / 1.215 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.8583, allocations: 32.36 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.8585, allocations: 139.5 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8586, allocations: 0 / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8586, allocations: 1.25 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.8586, allocations: 3.938 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007549/0.8593, allocations: 448.4 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.8594, allocations: 10.33 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.8594, allocations: 36.75 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.8594, allocations: 8.203 kB / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.8596, allocations: 187.3 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.8596, allocations: 3.375 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.8596, allocations: 7.594 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.8598, allocations: 68.66 kB / 1.216 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8599, allocations: 0 / 1.216 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8599, allocations: 4.766 kB / 1.216 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.8599, allocations: 0.8125 kB / 1.216 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.86, allocations: 36.5 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.8605, allocations: 304.9 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.8607, allocations: 47.19 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.8608, allocations: 25.09 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.8608, allocations: 1.031 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.861, allocations: 86.12 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.861, allocations: 0 / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.8615, allocations: 139.4 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.8615, allocations: 52.62 kB / 1.217 GB, free: 284 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.8616, allocations: 121.8 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.8617, allocations: 26.73 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.8617, allocations: 94.36 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.8618, allocations: 18.94 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.8618, allocations: 29.31 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.862, allocations: 321 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.8621, allocations: 21.11 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8622, allocations: 61.25 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.8624, allocations: 92.88 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8624, allocations: 0 / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002362/0.8626, allocations: 116.7 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8626, allocations: 8.25 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8626, allocations: 2.188 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8627, allocations: 2.344 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.8627, allocations: 13.09 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8628, allocations: 6.297 kB / 1.218 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.8628, allocations: 12.25 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.8628, allocations: 7.906 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.8629, allocations: 119.3 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.863, allocations: 11.27 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.863, allocations: 17.7 kB / 1.218 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.863, allocations: 5.344 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.863, allocations: 0 / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.863, allocations: 0 / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.8635, allocations: 389.6 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8635, allocations: 0.9375 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.8635, allocations: 3.188 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8635, allocations: 0.6875 kB / 1.218 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8636, allocations: 5.047 kB / 1.218 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.8636, allocations: 5.422 kB / 1.218 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8636, allocations: 0 / 1.218 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.8639, allocations: 208.1 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.8639, allocations: 91.2 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.864, allocations: 5.219 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.8641, allocations: 10.19 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.8641, allocations: 6.797 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.8641, allocations: 2.156 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.8642, allocations: 92.73 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8642, allocations: 0 / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003188/0.8645, allocations: 36.84 kB / 1.219 GB, free: 14.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009001/0.8654, allocations: 0.8012 MB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.8656, allocations: 78.98 kB / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8656, allocations: 0 / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.8657, allocations: 30.61 kB / 1.22 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.866, allocations: 16.42 kB / 1.22 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.8679, allocations: 1.512 MB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.8682, allocations: 0.6882 MB / 1.222 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.8683, allocations: 7.938 kB / 1.222 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.8683, allocations: 23.3 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.8683, allocations: 0 / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.893, allocations: 2.665 MB / 1.225 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.092, allocations: 2.891 kB / 1.225 GB, free: 10.16 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 14.833268552087247]