Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.087/2.087, 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.001197/0.001197, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.351/1.351, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0008754/0.0008754, allocations: 91.91 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.707e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7471/0.9615, allocations: 150.8 MB / 1.353 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.9617, allocations: 79.75 kB / 1.353 GB, free: 18.45 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.01008/0.9718, allocations: 3.243 MB / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9719, allocations: 4.781 kB / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.9719, allocations: 0 / 1.356 GB, free: 33.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004341/0.9723, allocations: 453.9 kB / 1.357 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.9724, allocations: 7.688 kB / 1.357 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.9724, allocations: 18.61 kB / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.9725, allocations: 166.9 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.9725, allocations: 0 / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.9726, allocations: 3.844 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.229e-05/0.9726, allocations: 38.86 kB / 1.357 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.9728, allocations: 72.58 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.9728, allocations: 0 / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.9728, allocations: 0 / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.9728, allocations: 3.844 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.9734, allocations: 321.9 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.9735, allocations: 54.89 kB / 1.358 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.9735, allocations: 37.36 kB / 1.358 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.9736, allocations: 0 / 1.358 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.9737, allocations: 83.45 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.9737, allocations: 0 / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002662/0.974, allocations: 121.7 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.974, allocations: 54.27 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.9741, allocations: 110.3 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.9741, allocations: 29.02 kB / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.9741, allocations: 90.08 kB / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.9742, allocations: 23.48 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.9742, allocations: 7.812 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9743, allocations: 322.1 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/0.9743, allocations: 21.22 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.9744, allocations: 53.53 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.9744, allocations: 25.06 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9744, allocations: 3.844 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00013/0.9746, allocations: 101.7 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.9746, allocations: 3.969 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.9746, allocations: 0 / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9746, allocations: 6.469 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.9747, allocations: 19.16 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.9747, allocations: 0 / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.9748, allocations: 11.75 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.9748, allocations: 6.719 kB / 1.359 GB, free: 32.23 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 (13): * Single equations (assignments): 13 * 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 7.713e-05/0.9749, allocations: 119.3 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.9749, allocations: 7.594 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.9749, allocations: 8.375 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9749, allocations: 3.875 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.975, allocations: 0 / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.975, allocations: 7.422 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.9753, allocations: 374.1 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9753, allocations: 0 / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.9753, allocations: 6.984 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9753, allocations: 7.969 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9754, allocations: 3.844 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9754, allocations: 3.938 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9754, allocations: 8.234 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.9756, allocations: 223.9 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.9756, allocations: 84.67 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.9756, allocations: 0 / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.9758, allocations: 7.344 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.9758, allocations: 6.875 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.9758, allocations: 6.484 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.9759, allocations: 90.64 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9759, allocations: 4 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000267/0.9761, allocations: 50.22 kB / 1.36 GB, free: 31.5 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 (8): * Single equations (assignments): 4 * 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.0003206/0.9765, allocations: 173.8 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.9766, allocations: 69.22 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9766, allocations: 4.188 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.9767, allocations: 40.19 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.9769, allocations: 9.234 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.9771, allocations: 113.3 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.9774, allocations: 0.6929 MB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.9774, allocations: 10.39 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.9774, allocations: 7.438 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9774, allocations: 3.875 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.003631/0.9811, allocations: 1.744 MB / 1.362 GB, free: 30.43 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0