Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,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.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_latest_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 10.0.0-master/package.mo): time 2.003/2.003, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001112/0.001112, allocations: 185.3 kB / 490.8 MB, free: 1.957 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.299/1.299, 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.0008902/0.00089, allocations: 95.92 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.043e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7137/0.9673, allocations: 151.5 MB / 1.36 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.9676, allocations: 79.55 kB / 1.36 GB, free: 17.49 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.0111/0.9787, allocations: 3.319 MB / 1.363 GB, free: 17.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.9787, allocations: 1.906 kB / 1.363 GB, free: 17.29 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000686/0.9794, allocations: 471.4 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9795, allocations: 9.031 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.9795, allocations: 13.5 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.9796, allocations: 184.7 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.9797, allocations: 1.312 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.9797, allocations: 5.125 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/0.9798, allocations: 41.75 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.98, allocations: 76.61 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.98, allocations: 5.281 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.98, allocations: 0 / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.98, allocations: 2.719 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.9806, allocations: 333.8 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.795e-05/0.9807, allocations: 57.19 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.9808, allocations: 38.44 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.9808, allocations: 1.375 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.9809, allocations: 83.19 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.9809, allocations: 0 / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003005/0.9812, allocations: 114.5 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.9813, allocations: 55.41 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.9814, allocations: 130.5 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.9814, allocations: 27.05 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.9815, allocations: 94.69 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.9815, allocations: 23.48 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.9815, allocations: 112 / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9816, allocations: 328.1 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.9817, allocations: 31.27 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.9818, allocations: 60.56 kB / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.109e-05/0.9819, allocations: 32.31 kB / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9819, allocations: 0 / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000196/0.9821, allocations: 117.9 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9821, allocations: 12.58 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.9821, allocations: 1.484 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9821, allocations: 5.328 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.9823, allocations: 28.14 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9823, allocations: 4.031 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.9824, allocations: 13.59 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.9824, allocations: 5.766 kB / 1.365 GB, free: 31.5 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 (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 7.637e-05/0.9825, allocations: 108.3 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.9825, allocations: 9.984 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.9826, allocations: 16.02 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9826, allocations: 5.938 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9826, allocations: 64 / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9826, allocations: 5.375 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.983, allocations: 376.9 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9831, allocations: 0 / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.9831, allocations: 15.27 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9831, allocations: 1.281 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.9832, allocations: 2.75 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9832, allocations: 1.062 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9832, allocations: 5.031 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002705/0.9835, allocations: 209.2 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.9835, allocations: 89.08 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.9835, allocations: 0.9688 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.9837, allocations: 10.03 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.9837, allocations: 9.578 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.9838, allocations: 4.844 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.041e-05/0.9838, allocations: 105.4 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000381/0.9842, allocations: 60.98 kB / 1.366 GB, free: 30.76 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 (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.0004002/0.9846, allocations: 166.1 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.9848, allocations: 87.14 kB / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9848, allocations: 4 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.9849, allocations: 47.69 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.9852, allocations: 10.11 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.9856, allocations: 137.1 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.9859, allocations: 0.7157 MB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9859, allocations: 8.938 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.005147/0.9911, allocations: 2.11 MB / 1.369 GB, free: 29.68 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches