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.001339/0.001339, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001645/0.001645, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.369/1.369, 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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 0.9515 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.975/0.9765, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002051/0.9786, allocations: 0.7328 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.9807, allocations: 1.522 MB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.9807, allocations: 4.969 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.9808, allocations: 4.734 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.981, allocations: 18.42 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.9814, allocations: 157.7 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.9816, allocations: 119.8 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.9818, allocations: 23.52 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.9819, allocations: 47.98 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.982, allocations: 46.62 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.9821, allocations: 19.69 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.9823, allocations: 108.7 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.9824, allocations: 20.78 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.9825, allocations: 48.7 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.9828, allocations: 190.5 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9829, allocations: 0.875 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9829, allocations: 3.938 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.9829, allocations: 0.7812 kB / 1.092 GB, free: 3.609 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.0007333/0.9836, allocations: 429.1 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.9837, allocations: 9.125 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.9837, allocations: 13.61 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.9838, allocations: 175.5 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.9839, allocations: 35.45 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.984, allocations: 6.375 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.9842, allocations: 117.5 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.9842, allocations: 0 / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.9842, allocations: 1.938 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9842, allocations: 1.406 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.9843, allocations: 41.11 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.985, allocations: 0.5212 MB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.9855, allocations: 136.6 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.9855, allocations: 45.53 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.9856, allocations: 2.672 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.9858, allocations: 115.3 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.9858, allocations: 4 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003555/0.9862, allocations: 139.3 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.9862, allocations: 115 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.9863, allocations: 124.5 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.9864, allocations: 31.56 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.9864, allocations: 96.95 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.9865, allocations: 30.17 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.9865, allocations: 33.73 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.9866, allocations: 327.6 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.9867, allocations: 34.69 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.9868, allocations: 41.72 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.987, allocations: 74.86 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.987, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.9873, allocations: 130 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9873, allocations: 5.25 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9873, allocations: 4.5 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.9873, allocations: 4.719 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.9875, allocations: 23.45 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9875, allocations: 4.734 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.9876, allocations: 11.11 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.9876, allocations: 5.031 kB / 1.094 GB, free: 1.164 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 9.093e-05/0.9877, allocations: 125.4 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.9877, allocations: 9.359 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.988, allocations: 128.5 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.988, allocations: 2.156 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.988, allocations: 1.094 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.9881, allocations: 96.94 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.9881, allocations: 10.78 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.9882, allocations: 13.36 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.9883, allocations: 14.94 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003324/0.9886, allocations: 377.9 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003059/0.9889, allocations: 458.2 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.838e-05/0.989, allocations: 53.78 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.9891, allocations: 107.4 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/0.9891, allocations: 0 / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.99, allocations: 185.7 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006644/0.9907, allocations: 0.6346 MB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.005984/0.9967, allocations: 1.772 MB / 1.098 GB, free: 15.11 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