Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.145/1.145, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 188.6 kB / 316 MB, free: 7.211 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.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 23.82 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.0007582/0.0007585, allocations: 85.05 kB / 0.671 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.57e-06, allocations: 0 / 0.7807 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3325, allocations: 106.3 MB / 0.8846 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4657, allocations: 133.3 MB / 1.015 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.466, allocations: 87.92 kB / 1.015 GB, free: 6.676 MB / 0.6667 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.01089/0.4769, allocations: 3.497 MB / 1.018 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4769, allocations: 0 / 1.018 GB, free: 3.164 MB / 0.6667 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.0005798/0.4775, allocations: 0.5127 MB / 1.019 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4775, allocations: 8.031 kB / 1.019 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.4776, allocations: 15.81 kB / 1.019 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.4777, allocations: 192.3 kB / 1.019 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4777, allocations: 0 / 1.019 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4778, allocations: 4 kB / 1.019 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001216/0.4779, allocations: 44 kB / 1.019 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.4781, allocations: 93.56 kB / 1.019 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.4781, allocations: 4 kB / 1.019 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4781, allocations: 7.984 kB / 1.019 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4781, allocations: 0 / 1.019 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.4788, allocations: 385 kB / 1.019 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4789, allocations: 62.5 kB / 1.02 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.479, allocations: 40.86 kB / 1.02 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.479, allocations: 4 kB / 1.02 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.4792, allocations: 103.3 kB / 1.02 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4792, allocations: 0 / 1.02 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9): time 0.0002905/0.4795, allocations: 105.6 kB / 1.02 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4795, allocations: 71.3 kB / 1.02 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.4797, allocations: 123.5 kB / 1.02 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4797, allocations: 29.64 kB / 1.02 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.4797, allocations: 92.36 kB / 1.02 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4798, allocations: 19.72 kB / 1.02 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.4798, allocations: 0 / 1.02 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.4799, allocations: 322.8 kB / 1.02 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.4799, allocations: 20 kB / 1.02 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.48, allocations: 65.89 kB / 1.021 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.4801, allocations: 28.09 kB / 1.021 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4801, allocations: 3.938 kB / 1.021 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000194/0.4803, allocations: 129.3 kB / 1.021 GB, free: 484 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.4803, allocations: 4 kB / 1.021 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4803, allocations: 0 / 1.021 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4803, allocations: 4 kB / 1.021 GB, free: 476 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4805, allocations: 19.98 kB / 1.021 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.4805, allocations: 7.938 kB / 1.021 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4806, allocations: 27.95 kB / 1.021 GB, free: 420 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4806, allocations: 4 kB / 1.021 GB, free: 416 kB / 0.6667 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 6.548e-05/0.4807, allocations: 103.1 kB / 1.021 GB, free: 308 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.4807, allocations: 19.8 kB / 1.021 GB, free: 288 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.4808, allocations: 8.5 kB / 1.021 GB, free: 280 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4808, allocations: 4 kB / 1.021 GB, free: 276 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4808, allocations: 4 kB / 1.021 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4808, allocations: 0 / 1.021 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.4812, allocations: 403.1 kB / 1.021 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4813, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4814, allocations: 15.98 kB / 1.021 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4814, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4814, allocations: 7.984 kB / 1.021 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4814, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4814, allocations: 7.938 kB / 1.021 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002578/0.4817, allocations: 215.3 kB / 1.021 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.4817, allocations: 81.02 kB / 1.022 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.4818, allocations: 7.984 kB / 1.022 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.482, allocations: 31.97 kB / 1.022 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.482, allocations: 15.89 kB / 1.022 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4821, allocations: 3.938 kB / 1.022 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.664e-05/0.4821, allocations: 104.7 kB / 1.022 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002849/0.4824, allocations: 67.86 kB / 1.022 GB, free: 15.24 MB / 0.6823 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.0002992/0.4827, allocations: 160.8 kB / 1.022 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4829, allocations: 80.11 kB / 1.022 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4829, allocations: 256 / 1.022 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.483, allocations: 55.92 kB / 1.022 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4832, allocations: 4 kB / 1.022 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.4836, allocations: 143.6 kB / 1.022 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.4839, allocations: 0.7153 MB / 1.023 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.4839, allocations: 0 / 1.023 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of Templates: time 0.004222/0.4881, allocations: 2.187 MB / 1.025 GB, free: 11.9 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches