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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 176.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008435, allocations: 107.8 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.558e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2263, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7345/0.9608, allocations: 150.8 MB / 1.353 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.961, allocations: 84.39 kB / 1.353 GB, free: 18.41 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.9722, allocations: 3.623 MB / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9722, allocations: 0 / 1.357 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9723, allocations: 0 / 1.357 GB, free: 33.91 MB / 0.8386 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.0005448/0.9728, allocations: 473.2 kB / 1.357 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.9729, allocations: 11.75 kB / 1.357 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.9729, allocations: 11.62 kB / 1.357 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.973, allocations: 176.3 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.973, allocations: 6.719 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.9731, allocations: 3.969 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.9732, allocations: 38.41 kB / 1.358 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.9733, allocations: 85.72 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.9733, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.9734, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.9734, allocations: 0 / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.9741, allocations: 353.3 kB / 1.358 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.9742, allocations: 54.77 kB / 1.358 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.9743, allocations: 48.77 kB / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.9743, allocations: 0 / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.9744, allocations: 92.19 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.9744, allocations: 0 / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002918/0.9747, allocations: 138.6 kB / 1.358 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.9747, allocations: 62.14 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.9748, allocations: 129.9 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.9749, allocations: 32.08 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.9749, allocations: 96.34 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.9749, allocations: 22.91 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.9749, allocations: 0 / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9751, allocations: 324.2 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.9751, allocations: 22.91 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.9752, allocations: 63.08 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.9753, allocations: 33.42 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9753, allocations: 0 / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000171/0.9755, allocations: 121.2 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9755, allocations: 3.844 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9755, allocations: 0 / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9755, allocations: 3.844 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.9756, allocations: 29.09 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9757, allocations: 3.938 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.9758, allocations: 11.7 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.9758, allocations: 9.859 kB / 1.359 GB, free: 32.13 MB / 0.8386 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.9759, allocations: 110.2 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.9759, allocations: 15.66 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.9759, allocations: 14.98 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9759, allocations: 0 / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9759, allocations: 3.875 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.976, allocations: 0 / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.9763, allocations: 412.5 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9763, allocations: 0.875 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.9764, allocations: 13.72 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9764, allocations: 0 / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.9764, allocations: 5.641 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.9764, allocations: 5.281 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9765, allocations: 0 / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.9767, allocations: 239.7 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.9767, allocations: 90.41 kB / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.9768, allocations: 0 / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.9769, allocations: 10.62 kB / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.9769, allocations: 14.02 kB / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.977, allocations: 5.422 kB / 1.36 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.977, allocations: 99.95 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.977, allocations: 0 / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002938/0.9773, allocations: 63.58 kB / 1.36 GB, free: 31.39 MB / 0.8386 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,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/0.9777, allocations: 168.6 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.9778, allocations: 86.75 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9778, allocations: 0 / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.9779, allocations: 46.72 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.9781, allocations: 9.891 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.9784, allocations: 137 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.9787, allocations: 0.6986 MB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.9787, allocations: 11.03 kB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.9787, allocations: 14.62 kB / 1.361 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9788, allocations: 0 / 1.361 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.003762/0.9825, allocations: 1.918 MB / 1.363 GB, free: 30.3 MB / 0.8386 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","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches