Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001228/0.001228, allocations: 177.3 kB / 487 MB, free: 5.34 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.273/1.273, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 98.36 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.943e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.572/0.7817, allocations: 150.9 MB / 1.353 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.782, allocations: 84.48 kB / 1.353 GB, free: 15.86 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.01209/0.7941, allocations: 3.548 MB / 1.356 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.7941, allocations: 2.219 kB / 1.356 GB, free: 15.64 MB / 0.8073 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.0005621/0.7947, allocations: 0.5234 MB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7947, allocations: 8.438 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.7948, allocations: 11.06 kB / 1.357 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.7949, allocations: 181.5 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.7949, allocations: 3.875 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.795, allocations: 7.219 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001283/0.7951, allocations: 48.16 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.7953, allocations: 99.17 kB / 1.357 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7953, allocations: 1.062 kB / 1.357 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7953, allocations: 0 / 1.357 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7953, allocations: 2.547 kB / 1.357 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.796, allocations: 382.2 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.7962, allocations: 61.05 kB / 1.357 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.7962, allocations: 41.19 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.7963, allocations: 1.656 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.7964, allocations: 105.3 kB / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.7964, allocations: 0 / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0003093/0.7967, allocations: 120.2 kB / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.7968, allocations: 55.44 kB / 1.358 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.7968, allocations: 124.8 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.7969, allocations: 30.73 kB / 1.358 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.7969, allocations: 90.47 kB / 1.358 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.7969, allocations: 25.58 kB / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.7969, allocations: 0 / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.797, allocations: 324.5 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.797, allocations: 23.94 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.7971, allocations: 59.31 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.7972, allocations: 33.38 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7972, allocations: 1.25 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001961/0.7974, allocations: 117.5 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7974, allocations: 4.875 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.7974, allocations: 4.844 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7974, allocations: 2.562 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.7976, allocations: 22.89 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.7976, allocations: 3.156 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.7977, allocations: 25.23 kB / 1.359 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.7978, allocations: 4.625 kB / 1.359 GB, free: 13.77 MB / 0.8073 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 5.99e-05/0.7978, allocations: 109.5 kB / 1.359 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.7979, allocations: 13.08 kB / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.7979, allocations: 20.28 kB / 1.359 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7979, allocations: 1.625 kB / 1.359 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.7979, allocations: 0 / 1.359 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7979, allocations: 2.234 kB / 1.359 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.7984, allocations: 396.9 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7984, allocations: 192 / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7985, allocations: 17 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7985, allocations: 8.625 kB / 1.359 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.7985, allocations: 7.422 kB / 1.359 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7985, allocations: 1.156 kB / 1.359 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7985, allocations: 3.906 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002473/0.7988, allocations: 213.8 kB / 1.359 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.7988, allocations: 88.2 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.7989, allocations: 1.781 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.7991, allocations: 34.23 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.7992, allocations: 7.156 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.7992, allocations: 4.297 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.75e-05/0.7992, allocations: 115.6 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003348/0.7996, allocations: 57.25 kB / 1.36 GB, free: 13.02 MB / 0.8073 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.0003216/0.7999, allocations: 161 kB / 1.36 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.8001, allocations: 80.61 kB / 1.36 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.8001, allocations: 4.062 kB / 1.36 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.8002, allocations: 52.41 kB / 1.36 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.8004, allocations: 14.25 kB / 1.36 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.8008, allocations: 144.3 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.801, allocations: 0.7162 MB / 1.361 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of SimCode: time 1.032e-06/0.801, allocations: 0 / 1.361 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.005088/0.8061, allocations: 2.176 MB / 1.363 GB, free: 11.61 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches