Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [: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 10.0.0-master/package.mo): time 1.954/1.954, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001027/0.001027, allocations: 177.2 kB / 490.8 MB, free: 1.949 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.411/1.411, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.001025/0.001025, allocations: 95.23 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.083e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6433/0.8705, allocations: 151.7 MB / 1.36 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.8709, allocations: 85.23 kB / 1.36 GB, free: 17.23 MB / 0.823 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: time 0.0118/0.8827, allocations: 3.547 MB / 1.363 GB, free: 17.01 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8827, allocations: 8.656 kB / 1.363 GB, free: 17 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006951/0.8834, allocations: 0.5141 MB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8835, allocations: 8.719 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.8835, allocations: 15.42 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.8837, allocations: 180.8 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.8837, allocations: 7.812 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.8837, allocations: 4.469 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001448/0.8839, allocations: 44.27 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.8841, allocations: 95.36 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8841, allocations: 0 / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.8841, allocations: 1 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.8841, allocations: 1.156 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.885, allocations: 382 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.8851, allocations: 59.19 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.8852, allocations: 47.5 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.8852, allocations: 4.688 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.8854, allocations: 97.44 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.8854, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003317/0.8857, allocations: 127.3 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.8858, allocations: 54.28 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.8859, allocations: 132.7 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.8859, allocations: 29.33 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.886, allocations: 94.78 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.886, allocations: 13.02 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.886, allocations: 0 / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8862, allocations: 329.2 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.8863, allocations: 19.84 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.8863, allocations: 65.48 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.8864, allocations: 25.83 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8864, allocations: 1.547 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002117/0.8866, allocations: 117.3 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.8867, allocations: 3.938 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8867, allocations: 6.422 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8867, allocations: 2.719 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.8869, allocations: 27.38 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8869, allocations: 6.562 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.887, allocations: 21.03 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.887, allocations: 8.688 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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 9.204e-05/0.8871, allocations: 108 kB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.8872, allocations: 13.16 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.8872, allocations: 12.28 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8872, allocations: 0 / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8872, allocations: 1.375 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8872, allocations: 1.734 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.8877, allocations: 399.9 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8877, allocations: 1.125 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.8879, allocations: 16.34 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8879, allocations: 1.312 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.8879, allocations: 4.344 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8879, allocations: 3.938 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8879, allocations: 192 / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000327/0.8882, allocations: 223.8 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.8883, allocations: 89.12 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.8883, allocations: 5.188 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.8886, allocations: 32.92 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.8886, allocations: 14.19 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.8887, allocations: 5.422 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.198e-05/0.8888, allocations: 109.2 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004222/0.8892, allocations: 61.25 kB / 1.367 GB, free: 30.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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004469/0.8896, allocations: 168.4 kB / 1.367 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.8899, allocations: 83.14 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8899, allocations: 0 / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.89, allocations: 51.75 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.8902, allocations: 10.95 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.8907, allocations: 142.9 kB / 1.367 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.8912, allocations: 0.7164 MB / 1.368 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.8912, allocations: 0 / 1.368 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.006222/0.8974, allocations: 2.17 MB / 1.37 GB, free: 29.31 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches