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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008603/0.008603, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001723/0.001724, allocations: 189.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.84 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002789/0.3512, allocations: 0.7208 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.3538, allocations: 1.525 MB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.3539, allocations: 0 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.354, allocations: 7.875 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.3542, allocations: 23.8 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.3549, allocations: 151.5 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3552, allocations: 119.7 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3553, allocations: 31.95 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.3555, allocations: 47.84 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3557, allocations: 51.77 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.3557, allocations: 12 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.356, allocations: 99.91 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.356, allocations: 23.92 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.3561, allocations: 51.77 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.3564, allocations: 191.5 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3565, allocations: 8 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3565, allocations: 0 / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3565, allocations: 0 / 1.211 GB, free: 6.547 MB / 0.9669 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.0009178/0.3574, allocations: 419.1 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3575, allocations: 8.031 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.3575, allocations: 12.84 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3577, allocations: 176.2 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.3578, allocations: 38.25 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3578, allocations: 8.375 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.358, allocations: 96.36 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.358, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.358, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.358, allocations: 7.938 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3582, allocations: 51.89 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.3589, allocations: 0.5243 MB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.3594, allocations: 135.7 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.3595, allocations: 42.66 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3596, allocations: 4 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.3598, allocations: 113.9 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.3598, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003453/0.3602, allocations: 145.7 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.3603, allocations: 106.8 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3604, allocations: 133.8 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3604, allocations: 29.7 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.3605, allocations: 100.5 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3606, allocations: 31.5 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.3606, allocations: 37.7 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3608, allocations: 322.8 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.3609, allocations: 35.98 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.361, allocations: 39.92 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3612, allocations: 78.53 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3612, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002923/0.3615, allocations: 131.8 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3615, allocations: 7.938 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3615, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3615, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3617, allocations: 27.92 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3617, allocations: 0 / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.3618, allocations: 19.83 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3618, allocations: 3.938 kB / 1.213 GB, free: 3.41 MB / 0.9669 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3619, allocations: 130 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3619, allocations: 11.89 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.3622, allocations: 110 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3622, allocations: 4 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3622, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3622, allocations: 3.984 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3625, allocations: 221.5 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3625, allocations: 0 / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.3626, allocations: 19.94 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3626, allocations: 4 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3626, allocations: 0 / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3626, allocations: 3.984 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3626, allocations: 4 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3629, allocations: 178.5 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.363, allocations: 104.9 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.363, allocations: 4.125 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.3631, allocations: 8 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3631, allocations: 23.86 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3632, allocations: 7.984 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.189e-05/0.3632, allocations: 101.1 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 0 / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002949/0.3635, allocations: 59.94 kB / 1.214 GB, free: 2.32 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.3638, allocations: 151.1 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3641, allocations: 99.89 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3641, allocations: 0 / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3642, allocations: 51.92 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3644, allocations: 21.58 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.3649, allocations: 237.1 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3652, allocations: 0.6963 MB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.3653, allocations: 23.42 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.3654, allocations: 23.42 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3654, allocations: 0 / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of Templates: time 0.004857/0.3702, allocations: 1.763 MB / 1.217 GB, free: 15.21 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches