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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 8 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8612, allocations: 153.7 MB / 1.021 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001494/0.8628, allocations: 440.2 kB / 1.021 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.8649, allocations: 1.471 MB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.865, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.8651, allocations: 7.938 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.8653, allocations: 19.95 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.8656, allocations: 123.6 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.8658, allocations: 63.86 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8659, allocations: 19.95 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.866, allocations: 43.86 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.8661, allocations: 43.88 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.8662, allocations: 4 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.8663, allocations: 75.89 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.8664, allocations: 15.97 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.8664, allocations: 45.62 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.8667, allocations: 141.8 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.8667, allocations: 3.938 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8667, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.8667, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 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.0007671/0.8675, allocations: 422.9 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8675, allocations: 11.98 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.8676, allocations: 7.906 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.8677, allocations: 170.9 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.8678, allocations: 41.69 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.8679, allocations: 11.95 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.8681, allocations: 92.17 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8681, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.8681, allocations: 8 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.8681, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.8682, allocations: 43.91 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.8689, allocations: 0.5206 MB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.8693, allocations: 139.8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.8694, allocations: 7.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.8696, allocations: 114 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.8696, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003311/0.87, allocations: 145.6 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.87, allocations: 110.8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.8701, allocations: 129.7 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.8702, allocations: 33.64 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.8702, allocations: 100.4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.8703, allocations: 19.72 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.8703, allocations: 4 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8704, allocations: 322.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.8705, allocations: 39.92 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.8706, allocations: 31.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.8707, allocations: 39.98 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8707, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002328/0.8709, allocations: 131.8 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.871, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.871, allocations: 256 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.871, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8711, allocations: 23.98 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8711, allocations: 3.984 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.8712, allocations: 19.84 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8712, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 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.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001123/0.8713, allocations: 133.7 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.8714, allocations: 7.906 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.8716, allocations: 113.9 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8716, allocations: 7.938 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8716, allocations: 0 / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8717, allocations: 3.984 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.8719, allocations: 221.5 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8719, allocations: 4 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.872, allocations: 16 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.872, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.872, allocations: 3.984 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.872, allocations: 4 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.872, allocations: 0 / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.8723, allocations: 198 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.8723, allocations: 101 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.8724, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.8724, allocations: 15.98 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.8725, allocations: 7.984 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.8725, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.8726, allocations: 107.2 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8726, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002842/0.8729, allocations: 63.8 kB / 1.027 GB, free: 10.64 MB / 0.7794 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.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * 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.0002388/0.8731, allocations: 166 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.8734, allocations: 97.31 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8734, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.8735, allocations: 56.05 kB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.8737, allocations: 15.98 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.8742, allocations: 255.3 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.8744, allocations: 0.7082 MB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.8745, allocations: 8.562 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.8746, allocations: 19.42 kB / 1.028 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8746, allocations: 4 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.004374/0.8789, allocations: 1.588 MB / 1.03 GB, free: 7.688 MB / 0.7794 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