Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.329/2.329, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001331/0.001331, allocations: 172 kB / 0.4902 GB, free: 2.262 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.598/1.598, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 98.38 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004602, allocations: 10.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3289, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.5444, allocations: 152.3 MB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5447, allocations: 83.95 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01083/0.5556, allocations: 3.273 MB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5556, allocations: 0 / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5556, allocations: 0 / 1.381 GB, free: 13.98 MB / 0.8855 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.0006857/0.5563, allocations: 458.4 kB / 1.382 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5564, allocations: 8.562 kB / 1.382 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.5565, allocations: 23.84 kB / 1.382 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.5567, allocations: 171 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.5567, allocations: 4 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.5567, allocations: 4 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.557, allocations: 89.56 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.557, allocations: 0 / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.557, allocations: 7.938 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.5571, allocations: 7.984 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5572, allocations: 51.97 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.558, allocations: 340.7 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.5582, allocations: 66.58 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.5583, allocations: 4 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.5585, allocations: 99.48 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.5585, allocations: 4 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.5591, allocations: 193.5 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5591, allocations: 63.28 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/0.5593, allocations: 109 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5593, allocations: 33.7 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.5594, allocations: 96.12 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.5594, allocations: 15.75 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.5594, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5595, allocations: 322.8 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.5596, allocations: 31.98 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5598, allocations: 71.52 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.5599, allocations: 35.98 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5599, allocations: 0 / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002962/0.5602, allocations: 137.4 kB / 1.384 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5602, allocations: 4 kB / 1.384 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.5602, allocations: 4 kB / 1.384 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5602, allocations: 0 / 1.384 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.5604, allocations: 23.92 kB / 1.384 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5604, allocations: 7.953 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.5605, allocations: 15.98 kB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5605, allocations: 4 kB / 1.384 GB, free: 11.28 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5607, allocations: 123.2 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.5607, allocations: 3.906 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.5607, allocations: 12.36 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5607, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5608, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5608, allocations: 3.953 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.5614, allocations: 430.4 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5614, allocations: 0 / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.5614, allocations: 11.94 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5615, allocations: 0 / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5615, allocations: 7.984 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5615, allocations: 12.02 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5615, allocations: 0 / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.5619, allocations: 251.3 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.562, allocations: 85.02 kB / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.562, allocations: 0 / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5621, allocations: 11.98 kB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.5622, allocations: 15.94 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5622, allocations: 4 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.5623, allocations: 95.27 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5623, allocations: 0 / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003444/0.5626, allocations: 51.92 kB / 1.385 GB, free: 10.09 MB / 0.8855 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) * Number of clocked states: 0 () * 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.000423/0.5631, allocations: 176.4 kB / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.5634, allocations: 91.89 kB / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5634, allocations: 0 / 1.385 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5635, allocations: 56.09 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.5637, allocations: 8.672 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.5642, allocations: 225.5 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.5645, allocations: 0.6965 MB / 1.386 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.204e-05/0.5646, allocations: 4 kB / 1.386 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.5646, allocations: 11.44 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.5646, allocations: 0 / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of Templates: time 0.004844/0.5695, allocations: 1.789 MB / 1.388 GB, free: 6.996 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_latest_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