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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 108 kB / 16.41 MB, free: 6.48 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.002061/0.002061, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.868/0.8695, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001854/0.8714, allocations: 0.7301 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.8734, allocations: 1.526 MB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.8735, allocations: 1.125 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.8735, allocations: 5.203 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.8737, allocations: 25.47 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.8742, allocations: 149.4 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.8744, allocations: 124.9 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.8745, allocations: 15.66 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.8746, allocations: 50.56 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.8747, allocations: 51.56 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.8748, allocations: 11.56 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.875, allocations: 104.1 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.875, allocations: 25.67 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.8751, allocations: 52.81 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.8754, allocations: 190.2 kB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8754, allocations: 4.688 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8754, allocations: 0 / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8754, allocations: 4.781 kB / 1.092 GB, free: 3.574 MB / 0.8575 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.0006442/0.8761, allocations: 425.1 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.8761, allocations: 10.23 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.8762, allocations: 9.375 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.8763, allocations: 175.3 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.8764, allocations: 35.86 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.8764, allocations: 5.406 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.8766, allocations: 114.2 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8766, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.8766, allocations: 6 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8766, allocations: 1.344 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.8767, allocations: 49.34 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.8773, allocations: 0.5171 MB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.8778, allocations: 136.5 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.8779, allocations: 49.23 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.8779, allocations: 1.984 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.8781, allocations: 115.8 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.8781, allocations: 0.9375 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003196/0.8784, allocations: 143.5 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8785, allocations: 109.5 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.8786, allocations: 124.9 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.8786, allocations: 32.66 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.8786, allocations: 96.2 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.8787, allocations: 29.7 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.8787, allocations: 38.5 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.8788, allocations: 323.5 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.8789, allocations: 33.94 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.879, allocations: 40.36 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.8791, allocations: 78.05 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8791, allocations: 0.8438 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002427/0.8794, allocations: 129.6 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8794, allocations: 8.812 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8794, allocations: 8.656 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8794, allocations: 0.7812 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8796, allocations: 18.88 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.8796, allocations: 1.062 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.8797, allocations: 11.11 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.8797, allocations: 8.297 kB / 1.094 GB, free: 1.137 MB / 0.8575 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 7.516e-05/0.8798, allocations: 124.6 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.8798, allocations: 9.016 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.88, allocations: 128.6 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8801, allocations: 3.25 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8801, allocations: 0.9688 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8801, allocations: 1.516 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.8803, allocations: 217.3 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.8803, allocations: 1.703 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.8804, allocations: 21.64 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8804, allocations: 5.797 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.8804, allocations: 3.203 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.8804, allocations: 4.969 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8804, allocations: 5.312 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.8806, allocations: 175.2 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.8807, allocations: 96.27 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.8807, allocations: 7.391 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.8808, allocations: 9.891 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.8809, allocations: 18.92 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.8809, allocations: 4.547 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.881, allocations: 98.94 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of sort global known variables: time 7.82e-07/0.881, allocations: 0 / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003104/0.8813, allocations: 65.34 kB / 1.095 GB, free: 352 kB / 0.8575 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.0002394/0.8815, allocations: 161.5 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.8818, allocations: 100.9 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8818, allocations: 0.7812 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8819, allocations: 55.36 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.8821, allocations: 15.69 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.8826, allocations: 259.9 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8829, allocations: 0.7018 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.883, allocations: 21.09 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.883, allocations: 0.6875 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.004309/0.8873, allocations: 1.82 MB / 1.098 GB, free: 15.05 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches