Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 111.1 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 191.8 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.444/2.444, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.556/4.556, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002452, allocations: 71.89 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8734, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002592/0.876, allocations: 1.499 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.8773, allocations: 0.7167 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.8774, allocations: 7.938 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.8774, allocations: 7.922 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.8775, allocations: 11.88 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.8781, allocations: 115.6 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.8782, allocations: 75.7 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.8783, allocations: 11.95 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.8784, allocations: 31.91 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.8785, allocations: 39.83 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.8785, allocations: 8 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.8787, allocations: 99.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.8788, allocations: 7.984 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.8788, allocations: 35.8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.8791, allocations: 139.5 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8791, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8791, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8791, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 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.0006367/0.8797, allocations: 440.5 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8798, allocations: 12.03 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.8798, allocations: 8.844 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.88, allocations: 184.2 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.88, allocations: 4.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.88, allocations: 4.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.8802, allocations: 69.97 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.8802, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8803, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8803, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.8804, allocations: 39.97 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.8809, allocations: 296.8 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.881, allocations: 50.5 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.8811, allocations: 32.97 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.8812, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.8814, allocations: 79.31 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8814, allocations: 0 / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000422/0.8818, allocations: 141.5 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.8819, allocations: 55.41 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.882, allocations: 125.7 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.882, allocations: 29.7 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.882, allocations: 92.12 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.8821, allocations: 15.88 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.8821, allocations: 29.7 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8822, allocations: 326.8 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.8823, allocations: 19.98 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.8824, allocations: 61.14 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.8826, allocations: 97 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8826, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.8828, allocations: 117.4 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.8829, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8829, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8829, allocations: 0 / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.883, allocations: 15.98 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.883, allocations: 4.156 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.8831, allocations: 7.938 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.8831, allocations: 8 kB / 1.213 GB, free: 8.25 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 8.761e-05/0.8832, allocations: 125.3 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.8832, allocations: 7.906 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.8833, allocations: 16.36 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8833, allocations: 0 / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8833, allocations: 3.938 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.8833, allocations: 85.02 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8833, allocations: 4 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.8834, allocations: 7.922 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.8835, allocations: 4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002986/0.8838, allocations: 184.9 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003279/0.8841, allocations: 287.1 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.671e-05/0.8842, allocations: 32.05 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.8843, allocations: 91.27 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of Backend: time 5.91e-07/0.8843, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.885, allocations: 193.8 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004795/0.8855, allocations: 0.6182 MB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.004227/0.8897, allocations: 1.464 MB / 1.216 GB, free: 5.062 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time