Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.179/1.179, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 188.5 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 82.41 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.521e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4063/0.5428, allocations: 134.3 MB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.543, allocations: 83.81 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: time 0.0102/0.5533, allocations: 3.269 MB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5533, allocations: 0 / 1.019 GB, free: 1.656 MB / 0.6355 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.0005295/0.5538, allocations: 472.3 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.5539, allocations: 12.03 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.5539, allocations: 11.89 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.554, allocations: 184.3 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5541, allocations: 6.688 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.5541, allocations: 4 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/0.5542, allocations: 39.86 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5543, allocations: 75.97 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.5543, allocations: 7.938 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5544, allocations: 0 / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.5544, allocations: 0 / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.5549, allocations: 332.7 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.555, allocations: 48.14 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.5551, allocations: 46.78 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5551, allocations: 0 / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.5552, allocations: 91.66 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.5552, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002607/0.5555, allocations: 110.4 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.5555, allocations: 63.33 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.5556, allocations: 129.5 kB / 1.021 GB, free: 24 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5556, allocations: 25.7 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.5557, allocations: 95.95 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.5557, allocations: 19.14 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5557, allocations: 0 / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.5558, allocations: 326.4 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.5559, allocations: 22.62 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.5559, allocations: 69.09 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.556, allocations: 30.05 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.556, allocations: 112 / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002055/0.5562, allocations: 121.8 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.5562, allocations: 10.59 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5562, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5563, allocations: 7.984 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5564, allocations: 23.17 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5564, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5565, allocations: 15.84 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5566, allocations: 11.98 kB / 1.021 GB, free: 15.29 MB / 0.6511 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 6.752e-05/0.5566, allocations: 112.1 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.5567, allocations: 11.86 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.5567, allocations: 16.11 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5567, allocations: 64 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5567, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5567, allocations: 3.984 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.5571, allocations: 383.3 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5571, allocations: 0 / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.5572, allocations: 8 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5572, allocations: 0 / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5572, allocations: 7.984 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5572, allocations: 0 / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5572, allocations: 0 / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002301/0.5575, allocations: 218.7 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.5575, allocations: 81.02 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.5576, allocations: 4 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5577, allocations: 7.984 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.5577, allocations: 7.984 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5578, allocations: 7.906 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.202e-05/0.5578, allocations: 108.9 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002747/0.5581, allocations: 55.88 kB / 1.022 GB, free: 14.28 MB / 0.6511 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.0002907/0.5584, allocations: 163.9 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.5586, allocations: 85.73 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5586, allocations: 4.188 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.5586, allocations: 37.75 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.5588, allocations: 14.97 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.5592, allocations: 130.6 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.5594, allocations: 0.7192 MB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.5594, allocations: 0 / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of Templates: time 0.004012/0.5635, allocations: 2.122 MB / 1.025 GB, free: 11.06 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches