Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.6758, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002781/0.6787, allocations: 1.583 MB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.6799, allocations: 0.7803 MB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.68, allocations: 0 / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.68, allocations: 13.45 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.6801, allocations: 21.2 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.6807, allocations: 144 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.6808, allocations: 132.6 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.6809, allocations: 20.61 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.681, allocations: 64.47 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.6812, allocations: 73.84 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.6812, allocations: 12.44 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.6814, allocations: 102.8 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.6814, allocations: 28.97 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.6815, allocations: 55.2 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.6817, allocations: 187.6 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6818, allocations: 4 kB / 0.9527 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.093e-06/0.6818, allocations: 0 / 0.9527 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.6818, allocations: 3.938 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007238/0.6825, allocations: 487.7 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6825, allocations: 12.69 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.6826, allocations: 14.5 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6827, allocations: 183.2 kB / 0.9534 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6827, allocations: 11.06 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.6828, allocations: 13.78 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.683, allocations: 94.56 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.683, allocations: 0 / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.6831, allocations: 1.438 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6831, allocations: 1.281 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.6833, allocations: 65.05 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.6841, allocations: 379.3 kB / 0.9539 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.6843, allocations: 66.36 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.6844, allocations: 57.55 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6844, allocations: 1.344 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.6847, allocations: 106.3 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.6847, allocations: 0 / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005734/0.6853, allocations: 210.5 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.6853, allocations: 61.7 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6854, allocations: 149.6 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.6855, allocations: 32.09 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.6855, allocations: 95.03 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.6855, allocations: 20.08 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.6856, allocations: 31.95 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.6857, allocations: 321.8 kB / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.6858, allocations: 41.11 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.6859, allocations: 78.25 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.6862, allocations: 113.1 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6862, allocations: 1.219 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003319/0.6865, allocations: 153.8 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6865, allocations: 5.875 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6865, allocations: 1.594 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6866, allocations: 0.9375 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.6867, allocations: 28.77 kB / 0.9554 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6867, allocations: 6.531 kB / 0.9554 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.6868, allocations: 14.42 kB / 0.9554 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.6869, allocations: 8.234 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.003e-05/0.687, allocations: 122.3 kB / 0.9556 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.687, allocations: 16.59 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.687, allocations: 19.11 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.687, allocations: 5.25 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6871, allocations: 3.938 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6871, allocations: 0 / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.6876, allocations: 453.5 kB / 0.956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6876, allocations: 4.109 kB / 0.956 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.6877, allocations: 13.81 kB / 0.9561 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6877, allocations: 5.547 kB / 0.9561 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6877, allocations: 9.188 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6877, allocations: 0 / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6877, allocations: 0.875 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.6881, allocations: 265.9 kB / 0.9563 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.6881, allocations: 91.55 kB / 0.9564 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.6882, allocations: 6.219 kB / 0.9564 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6883, allocations: 12.08 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.6884, allocations: 2.969 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.6884, allocations: 9.328 kB / 0.9564 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.6884, allocations: 107.2 kB / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6884, allocations: 0 / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000359/0.6888, allocations: 51.86 kB / 0.9566 GB, free: 3.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003499/0.6892, allocations: 163.1 kB / 0.9568 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.6895, allocations: 111.5 kB / 0.9569 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6895, allocations: 0 / 0.9569 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.6897, allocations: 58.06 kB / 0.9569 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.69, allocations: 17.33 kB / 0.9569 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.6905, allocations: 226.3 kB / 0.9571 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.6907, allocations: 0.7083 MB / 0.9578 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.768e-05/0.6908, allocations: 1.375 kB / 0.9578 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.6908, allocations: 15.55 kB / 0.9579 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 6.92e-07/0.6908, allocations: 1.375 kB / 0.9579 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.006339/0.6972, allocations: 1.971 MB / 0.9598 GB, free: 1.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches