Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.695/1.695, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0008939/0.0008939, allocations: 185.2 kB / 490.8 MB, free: 1.949 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.053/1.053, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008069/0.000807, allocations: 100.6 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.49e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5927, allocations: 150.2 MB / 1.358 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.593, allocations: 71.91 kB / 1.358 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.008965/0.6019, allocations: 3.13 MB / 1.361 GB, free: 17.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.602, allocations: 1.656 kB / 1.361 GB, free: 17.12 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004176/0.6024, allocations: 415.3 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.6024, allocations: 10.02 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.6025, allocations: 12.12 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.6026, allocations: 181.6 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.6026, allocations: 2.438 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.6026, allocations: 4.875 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.13e-05/0.6027, allocations: 34.14 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.6028, allocations: 93.12 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6028, allocations: 3.938 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6028, allocations: 2.281 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.6029, allocations: 6.562 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.6033, allocations: 485.7 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.6036, allocations: 134.8 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.6037, allocations: 46.3 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.6037, allocations: 1.094 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/0.6038, allocations: 100.1 kB / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.6038, allocations: 0 / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002388/0.6041, allocations: 108.2 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.6041, allocations: 114 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.6042, allocations: 118.2 kB / 1.363 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6042, allocations: 26.8 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.6042, allocations: 91.69 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.6043, allocations: 29.92 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.6043, allocations: 0 / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.6044, allocations: 318.6 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.6044, allocations: 31 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.6045, allocations: 38.45 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.6046, allocations: 45.98 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6046, allocations: 0 / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002212/0.6048, allocations: 131.8 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.6048, allocations: 5.344 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6049, allocations: 3.906 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.6049, allocations: 1.406 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.605, allocations: 17.86 kB / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.605, allocations: 0 / 1.364 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.6051, allocations: 16.12 kB / 1.364 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6051, allocations: 5.328 kB / 1.364 GB, free: 31.09 MB / 0.8386 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 9.274e-05/0.6052, allocations: 115.7 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.6052, allocations: 7.75 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.6054, allocations: 111.4 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6054, allocations: 2.188 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6054, allocations: 5.406 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6054, allocations: 1.453 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.6056, allocations: 186.3 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6056, allocations: 1.344 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.6057, allocations: 17.41 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6057, allocations: 1.281 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6057, allocations: 11 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6057, allocations: 1.062 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6057, allocations: 5.062 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002029/0.6059, allocations: 189.8 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.606, allocations: 103.5 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.606, allocations: 2.688 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.6061, allocations: 11.73 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.6061, allocations: 12.64 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.6061, allocations: 6.062 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.329e-05/0.6062, allocations: 95.67 kB / 1.365 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000241/0.6064, allocations: 53.97 kB / 1.365 GB, free: 30.43 MB / 0.8386 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.0001903/0.6066, allocations: 169.5 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.607, allocations: 0.7598 MB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.6071, allocations: 0 / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.6071, allocations: 52.06 kB / 1.366 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.6073, allocations: 14.11 kB / 1.366 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.6076, allocations: 145.8 kB / 1.366 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.6078, allocations: 0.7193 MB / 1.367 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/0.6078, allocations: 0 / 1.367 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.003305/0.6111, allocations: 1.607 MB / 1.368 GB, free: 28.66 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches