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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001598/0.001598, allocations: 122 kB / 16.43 MB, free: 6.492 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.001628/0.001629, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.7 MB / 0.746 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9491/0.9505, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002385/0.953, allocations: 0.7174 MB / 1.227 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.9552, allocations: 1.525 MB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.9553, allocations: 4 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.9554, allocations: 7.875 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.9558, allocations: 23.72 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.9566, allocations: 151.5 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.957, allocations: 119.7 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.9572, allocations: 19.98 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.9575, allocations: 55.84 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.9577, allocations: 47.81 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.9577, allocations: 12 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.9581, allocations: 103.9 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.9582, allocations: 27.92 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.9583, allocations: 47.73 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.9589, allocations: 196 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.9589, allocations: 0 / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9589, allocations: 4 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.959, allocations: 0 / 1.229 GB, free: 10.45 MB / 0.9512 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.001239/0.9602, allocations: 426.8 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.9603, allocations: 8.031 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.9604, allocations: 8.891 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.9606, allocations: 176.3 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.9608, allocations: 42.27 kB / 1.23 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.9608, allocations: 4.375 kB / 1.23 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.9611, allocations: 109.4 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.9611, allocations: 0 / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9611, allocations: 7.938 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.9612, allocations: 0 / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.9613, allocations: 47.91 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9624, allocations: 0.5166 MB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.9629, allocations: 139.7 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.963, allocations: 50.59 kB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.9631, allocations: 0 / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.9634, allocations: 117.9 kB / 1.231 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.073e-06/0.9635, allocations: 4 kB / 1.231 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004726/0.9639, allocations: 149.5 kB / 1.231 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.964, allocations: 106.8 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.9642, allocations: 129.7 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.9643, allocations: 37.83 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.9643, allocations: 84.42 kB / 1.231 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.9644, allocations: 39.8 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.9645, allocations: 29.7 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.9647, allocations: 326.8 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.9648, allocations: 31.98 kB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.9649, allocations: 35.98 kB / 1.232 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.9651, allocations: 83.03 kB / 1.232 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9651, allocations: 4 kB / 1.232 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002813/0.9654, allocations: 137.4 kB / 1.232 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.9654, allocations: 8 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.9655, allocations: 0 / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.9655, allocations: 0 / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.9656, allocations: 19.98 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.9656, allocations: 0 / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.9658, allocations: 11.95 kB / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.9658, allocations: 7.984 kB / 1.232 GB, free: 7.297 MB / 0.9512 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.0001573/0.9659, allocations: 136.3 kB / 1.232 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.966, allocations: 7.953 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.9663, allocations: 118.1 kB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.9663, allocations: 0 / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9663, allocations: 0 / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.9664, allocations: 105 kB / 1.232 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.9665, allocations: 11.92 kB / 1.232 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.9666, allocations: 8 kB / 1.232 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.9667, allocations: 11.98 kB / 1.232 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000445/0.9671, allocations: 371.4 kB / 1.233 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003936/0.9675, allocations: 472.5 kB / 1.233 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.116e-05/0.9676, allocations: 51.97 kB / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.9677, allocations: 98.39 kB / 1.233 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/0.9677, allocations: 4 kB / 1.233 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008134/0.9685, allocations: 186.1 kB / 1.234 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008005/0.9694, allocations: 0.6444 MB / 1.234 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of Templates: time 0.005358/0.9747, allocations: 1.775 MB / 1.236 GB, free: 3.223 MB / 0.9512 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/jenkins1/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