Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.0009019/0.000902, allocations: 189.2 kB / 487 MB, free: 5.32 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.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.000855/0.000855, allocations: 97.83 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.57e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2013, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.7274, allocations: 149.4 MB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.7276, allocations: 71.48 kB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009379/0.737, allocations: 3.127 MB / 1.354 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.737, allocations: 2 kB / 1.354 GB, free: 15.6 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004122/0.7374, allocations: 419.6 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7375, allocations: 14 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.7375, allocations: 8.656 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.7376, allocations: 177 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7376, allocations: 5.719 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.7377, allocations: 5.344 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.7378, allocations: 42.17 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.7379, allocations: 85.03 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7379, allocations: 0 / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.7379, allocations: 2.406 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.7379, allocations: 1.688 kB / 1.355 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.7384, allocations: 497.4 kB / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.7388, allocations: 132.3 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.7389, allocations: 37.62 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.7389, allocations: 9.906 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.739, allocations: 98.58 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.739, allocations: 0.9375 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002705/0.7393, allocations: 104.5 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.7393, allocations: 109.5 kB / 1.356 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.7394, allocations: 123.5 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7394, allocations: 27.75 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.7395, allocations: 87.7 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.7395, allocations: 29.98 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.7395, allocations: 4.688 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.7395, allocations: 319.3 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.7396, allocations: 28.27 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.7397, allocations: 36.45 kB / 1.356 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.7398, allocations: 48.52 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7398, allocations: 1.094 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002488/0.7401, allocations: 135.5 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.7401, allocations: 5.406 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7401, allocations: 0.9375 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.7401, allocations: 1.031 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7402, allocations: 19.5 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.7402, allocations: 0.7188 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.7403, allocations: 16.23 kB / 1.357 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.7404, allocations: 8.688 kB / 1.357 GB, free: 13.57 MB / 0.8073 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 6.056e-05/0.7404, allocations: 108.7 kB / 1.357 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.7405, allocations: 7.219 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.7407, allocations: 110.2 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7407, allocations: 5.906 kB / 1.357 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7407, allocations: 6.281 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7407, allocations: 1.688 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.7409, allocations: 184.8 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7409, allocations: 1.031 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.741, allocations: 27.38 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.741, allocations: 0.9375 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.741, allocations: 6.906 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.741, allocations: 2.281 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.741, allocations: 0.9688 kB / 1.357 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000232/0.7413, allocations: 190.9 kB / 1.357 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.7413, allocations: 95.75 kB / 1.357 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.7413, allocations: 6.141 kB / 1.357 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.7414, allocations: 12 kB / 1.357 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.7415, allocations: 16.91 kB / 1.357 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.7415, allocations: 9.078 kB / 1.357 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.287e-05/0.7416, allocations: 100.4 kB / 1.358 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002689/0.7418, allocations: 55.42 kB / 1.358 GB, free: 12.92 MB / 0.8073 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.0002304/0.7421, allocations: 158.9 kB / 1.358 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.7425, allocations: 0.761 MB / 1.359 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7425, allocations: 3.375 kB / 1.359 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.7426, allocations: 50.11 kB / 1.359 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.7427, allocations: 13.36 kB / 1.359 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.7431, allocations: 150.6 kB / 1.359 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.7433, allocations: 0.7238 MB / 1.359 GB, free: 27.31 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.7433, allocations: 0 / 1.359 GB, free: 27.31 MB / 0.823 GB Notification: Performance of Templates: time 0.003949/0.7473, allocations: 1.599 MB / 1.361 GB, free: 27.15 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches