Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00759/0.00759, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.00133/0.00133, allocations: 197.7 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 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 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8483, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002563/0.8509, allocations: 1.627 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.8523, allocations: 0.7984 MB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.8524, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.8524, allocations: 7.875 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.8525, allocations: 31.72 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.8531, allocations: 147.6 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.8533, allocations: 159.5 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.8534, allocations: 17.12 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.8536, allocations: 67.81 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.8538, allocations: 79.72 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.8538, allocations: 12 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.8541, allocations: 107.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.8542, allocations: 31.89 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.8543, allocations: 59.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.8546, allocations: 211.2 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8546, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8546, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8546, allocations: 8 kB / 1.211 GB, free: 10.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007837/0.8554, allocations: 0.5349 MB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.8555, allocations: 12.03 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.8555, allocations: 12.75 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8557, allocations: 188.1 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8557, allocations: 4.375 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.8557, allocations: 8.375 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.8562, allocations: 137.9 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8562, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.8563, allocations: 11.97 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8563, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.8567, allocations: 99.91 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.8575, allocations: 376.6 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.8579, allocations: 106.4 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.8582, allocations: 80.78 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.8582, allocations: 4 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.8587, allocations: 139.2 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.8587, allocations: 0 / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001147/0.8598, allocations: 309.4 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.8599, allocations: 63.33 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.86, allocations: 148.4 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.86, allocations: 25.7 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.8601, allocations: 104.5 kB / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.8601, allocations: 27.62 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.8602, allocations: 33.7 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8603, allocations: 318.8 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.8605, allocations: 51.89 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.8606, allocations: 77.12 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.8609, allocations: 121 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8609, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003672/0.8613, allocations: 157.5 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.8613, allocations: 8 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8613, allocations: 4 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8614, allocations: 0 / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.8615, allocations: 23.92 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.8615, allocations: 0 / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.8616, allocations: 19.83 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.8617, allocations: 8 kB / 1.214 GB, free: 6.953 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001268/0.8618, allocations: 131.3 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.8618, allocations: 7.906 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.8619, allocations: 16.72 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8619, allocations: 0 / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8619, allocations: 0 / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8619, allocations: 0 / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.8631, allocations: 0.5297 MB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8631, allocations: 0 / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.8632, allocations: 12.08 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8632, allocations: 7.938 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.8632, allocations: 3.984 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8632, allocations: 3.938 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8632, allocations: 4 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.8641, allocations: 335.3 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.8641, allocations: 85.02 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.8641, allocations: 0 / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.8644, allocations: 27.91 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.8645, allocations: 11.92 kB / 1.215 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.8645, allocations: 7.984 kB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.8646, allocations: 109.7 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8646, allocations: 4 kB / 1.215 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003392/0.8649, allocations: 51.92 kB / 1.215 GB, free: 5.516 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.000355/0.8653, allocations: 161.9 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005912/0.8659, allocations: 143.8 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8659, allocations: 0 / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.8662, allocations: 88.17 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.8665, allocations: 11.98 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.8673, allocations: 272.1 kB / 1.216 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.8676, allocations: 0.7041 MB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.8676, allocations: 4 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.8677, allocations: 11.44 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8677, allocations: 0 / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of Templates: time 0.004984/0.8727, allocations: 2.059 MB / 1.219 GB, free: 2.043 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches