Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [: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.396/1.396, allocations: 249.4 MB / 256.7 MB, free: 7.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 189.2 kB / 316 MB, free: 7.902 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 0.5667 GB, free: 3.395 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009467/0.0009466, allocations: 94.81 kB / 0.671 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.552e-06, allocations: 0 / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 106.3 MB / 0.8846 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6104/0.8356, allocations: 133.1 MB / 1.015 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.8359, allocations: 73.14 kB / 1.015 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.01023/0.8461, allocations: 3.079 MB / 1.018 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.8462, allocations: 4 kB / 1.018 GB, free: 9.188 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005231/0.8467, allocations: 415.8 kB / 1.018 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.8468, allocations: 12.03 kB / 1.018 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.8468, allocations: 7.906 kB / 1.018 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.847, allocations: 167 kB / 1.018 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.847, allocations: 11.98 kB / 1.018 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.847, allocations: 7.906 kB / 1.018 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.8471, allocations: 38.42 kB / 1.018 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.8473, allocations: 93.36 kB / 1.018 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.8473, allocations: 0 / 1.018 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.8473, allocations: 4 kB / 1.018 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8473, allocations: 0 / 1.018 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.8478, allocations: 492.5 kB / 1.019 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.8483, allocations: 127.8 kB / 1.019 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.8484, allocations: 48.25 kB / 1.019 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.8484, allocations: 7.906 kB / 1.019 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.8486, allocations: 96.77 kB / 1.019 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-05/0.8486, allocations: 0 / 1.019 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0002933/0.8489, allocations: 114.5 kB / 1.019 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.8489, allocations: 106.8 kB / 1.019 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.849, allocations: 115.6 kB / 1.019 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.8491, allocations: 25.7 kB / 1.019 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.8492, allocations: 91.7 kB / 1.019 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.8492, allocations: 34.61 kB / 1.02 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.8492, allocations: 0 / 1.02 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8493, allocations: 321.5 kB / 1.02 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.8494, allocations: 29.92 kB / 1.02 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.8495, allocations: 28.88 kB / 1.02 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.8496, allocations: 58.34 kB / 1.02 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8496, allocations: 0 / 1.02 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002556/0.8499, allocations: 129 kB / 1.02 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.8499, allocations: 4 kB / 1.02 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8499, allocations: 0 / 1.02 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.8499, allocations: 0 / 1.02 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.8501, allocations: 23.92 kB / 1.02 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8501, allocations: 3.984 kB / 1.02 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.8502, allocations: 15.83 kB / 1.02 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.8502, allocations: 8 kB / 1.02 GB, free: 6.555 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.828e-05/0.8503, allocations: 108.9 kB / 1.02 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.8503, allocations: 11.91 kB / 1.02 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.8506, allocations: 111.5 kB / 1.02 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8506, allocations: 4 kB / 1.02 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8506, allocations: 4 kB / 1.02 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8506, allocations: 0 / 1.02 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.8508, allocations: 185.4 kB / 1.021 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8508, allocations: 3.984 kB / 1.021 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.8509, allocations: 16 kB / 1.021 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.8509, allocations: 0 / 1.021 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8509, allocations: 7.375 kB / 1.021 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8509, allocations: 7.922 kB / 1.021 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8509, allocations: 4 kB / 1.021 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002508/0.8512, allocations: 191.5 kB / 1.021 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.8513, allocations: 99.16 kB / 1.021 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.8513, allocations: 7.984 kB / 1.021 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.8514, allocations: 8 kB / 1.021 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.8514, allocations: 14.98 kB / 1.021 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.8515, allocations: 4 kB / 1.021 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.582e-05/0.8515, allocations: 93.95 kB / 1.021 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002756/0.8518, allocations: 51.94 kB / 1.021 GB, free: 5.617 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002317/0.852, allocations: 167.6 kB / 1.021 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005015/0.8525, allocations: 0.7617 MB / 1.022 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8526, allocations: 0 / 1.022 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.8526, allocations: 46.55 kB / 1.022 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.8528, allocations: 7.375 kB / 1.022 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.8532, allocations: 153.9 kB / 1.022 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.8535, allocations: 0.7193 MB / 1.023 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8535, allocations: 3.938 kB / 1.023 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of Templates: time 0.004096/0.8576, allocations: 1.603 MB / 1.024 GB, free: 2.168 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches