Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [: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.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001114/0.001113, allocations: 177.3 kB / 316 MB, free: 3.543 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.051/1.051, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0007912/0.0007912, allocations: 87.33 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.041e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1484, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5677, allocations: 134.2 MB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.568, allocations: 80.39 kB / 1.016 GB, free: 4.422 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.00841/0.5764, allocations: 2.826 MB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5764, allocations: 4 kB / 1.018 GB, free: 2.066 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005303/0.577, allocations: 463.8 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.577, allocations: 8.031 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.577, allocations: 7.906 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5772, allocations: 167.2 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5772, allocations: 11.91 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.5772, allocations: 4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.737e-05/0.5773, allocations: 33.36 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5775, allocations: 64.97 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5775, allocations: 3.984 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5775, allocations: 3.062 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.5775, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.578, allocations: 304.3 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.5781, allocations: 52.12 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.5781, allocations: 28.27 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5782, allocations: 7.984 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.754e-05/0.5783, allocations: 77.19 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5783, allocations: 4 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002215/0.5785, allocations: 95.58 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.5785, allocations: 55.16 kB / 1.02 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.5786, allocations: 114.2 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.5786, allocations: 25.7 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.5787, allocations: 91.98 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.5787, allocations: 23.09 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.5787, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.5788, allocations: 318.1 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.5788, allocations: 19.25 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.5789, allocations: 62.95 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.579, allocations: 27.8 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.579, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001571/0.5791, allocations: 108.2 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5792, allocations: 10.5 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5792, allocations: 3.984 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5792, allocations: 7.938 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5793, allocations: 16.11 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5793, allocations: 4 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.5794, allocations: 8 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5794, allocations: 11.98 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * 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.915e-05/0.5795, allocations: 111.9 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.5795, allocations: 11.84 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.5798, allocations: 113.6 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5798, allocations: 3.938 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5798, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5798, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.5802, allocations: 386.7 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.5802, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.5803, allocations: 8 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5803, allocations: 3.984 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5803, allocations: 11.59 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5803, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5803, allocations: 0.7031 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/0.5805, allocations: 201.7 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.5806, allocations: 85.09 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.5806, allocations: 7.984 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5807, allocations: 15.89 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.5808, allocations: 7.984 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5808, allocations: 3.75 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.986e-05/0.5808, allocations: 101.9 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002732/0.5811, allocations: 47.94 kB / 1.022 GB, free: 14.7 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: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0002908/0.5814, allocations: 171.3 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5816, allocations: 67.42 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5816, allocations: 7.5 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.5816, allocations: 35.11 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.5818, allocations: 7.375 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.5822, allocations: 137.1 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.5824, allocations: 0.7075 MB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.5824, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.003831/0.5863, allocations: 1.89 MB / 1.025 GB, free: 11.7 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches