Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001405/0.001405, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001546/0.001546, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.11 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.7 MB / 1.167 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002418/1.008, allocations: 0.7238 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002369/1.011, allocations: 1.523 MB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/1.011, allocations: 15.86 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/1.011, allocations: 11.86 kB / 1.17 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/1.012, allocations: 155.5 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/1.012, allocations: 119.6 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/1.012, allocations: 15.98 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/1.012, allocations: 63.83 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/1.013, allocations: 55.75 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/1.013, allocations: 8 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/1.013, allocations: 91.94 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/1.013, allocations: 31.89 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/1.013, allocations: 43.86 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/1.013, allocations: 193.2 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.013, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/1.013, allocations: 3.938 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.013, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 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.0008176/1.014, allocations: 423.1 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.014, allocations: 8.922 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/1.014, allocations: 12.84 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.014, allocations: 188.1 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/1.015, allocations: 30.27 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/1.015, allocations: 8.375 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.015, allocations: 110 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.015, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.015, allocations: 7.984 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.015, allocations: 4 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/1.015, allocations: 43.91 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/1.016, allocations: 0.5242 MB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/1.016, allocations: 135.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/1.016, allocations: 50.66 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.016, allocations: 4.062 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/1.017, allocations: 125.8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/1.017, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003464/1.017, allocations: 141.5 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.017, allocations: 102.8 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.017, allocations: 121.8 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.017, allocations: 33.7 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/1.017, allocations: 96.31 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.017, allocations: 31.69 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/1.017, allocations: 33.69 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.017, allocations: 322.8 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/1.018, allocations: 35.98 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/1.018, allocations: 35.97 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/1.018, allocations: 83.45 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.018, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002519/1.018, allocations: 125.5 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.018, allocations: 12 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.018, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.018, allocations: 7.922 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.018, allocations: 19.98 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.018, allocations: 3.938 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/1.018, allocations: 8 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.018, allocations: 4 kB / 1.173 GB, free: 13.74 MB / 0.9044 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.0001275/1.019, allocations: 130.9 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/1.019, allocations: 11.91 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/1.019, allocations: 118 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.019, allocations: 7.922 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.019, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/1.019, allocations: 101 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/1.019, allocations: 3.938 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/1.019, allocations: 11.98 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/1.019, allocations: 15.98 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003787/1.02, allocations: 379.8 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003617/1.02, allocations: 465.1 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.056e-05/1.02, allocations: 51.97 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.923e-05/1.02, allocations: 96.52 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of Backend: time 4.51e-07/1.02, allocations: 0 / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007642/1.021, allocations: 191 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005973/1.021, allocations: 0.6293 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.004989/1.026, allocations: 1.767 MB / 1.177 GB, free: 9.684 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches