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.001516/0.001516, allocations: 112.7 kB / 16.42 MB, free: 6.523 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.001632/0.001632, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.585/2.585, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001905/1.093, allocations: 0.7236 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00194/1.095, allocations: 1.531 MB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/1.095, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/1.095, allocations: 3.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/1.095, allocations: 23.78 kB / 1.17 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/1.095, allocations: 155.5 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/1.096, allocations: 127.6 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/1.096, allocations: 15.98 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.096, allocations: 51.84 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/1.096, allocations: 51.81 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/1.096, allocations: 16 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/1.096, allocations: 91.92 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/1.096, allocations: 27.91 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/1.096, allocations: 47.84 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/1.097, allocations: 199.8 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.097, allocations: 3.984 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.097, allocations: 4 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.097, allocations: 0 / 1.17 GB, free: 0.8555 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.0007891/1.098, allocations: 426.8 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.098, allocations: 8.922 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/1.098, allocations: 8.891 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/1.098, allocations: 180.3 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/1.098, allocations: 30.27 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/1.098, allocations: 12.38 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.098, allocations: 109.4 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.098, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/1.098, allocations: 8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.098, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/1.098, allocations: 47.91 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/1.099, allocations: 0.5166 MB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/1.099, allocations: 139.7 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/1.1, allocations: 42.66 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.1, allocations: 4 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/1.1, allocations: 125.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/1.1, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003348/1.1, allocations: 141.7 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/1.1, allocations: 110.8 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.1, allocations: 121.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/1.1, allocations: 37.69 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/1.1, allocations: 88.38 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/1.101, allocations: 35.8 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/1.101, allocations: 33.83 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.101, allocations: 326.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.081e-05/1.101, allocations: 35.97 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/1.101, allocations: 35.98 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/1.101, allocations: 75.8 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.101, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002364/1.101, allocations: 137.5 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.101, allocations: 7.984 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.101, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.101, allocations: 8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.102, allocations: 15.98 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.102, allocations: 4 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/1.102, allocations: 11.95 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/1.102, allocations: 7.984 kB / 1.173 GB, free: 13.71 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.0001091/1.102, allocations: 133.6 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/1.102, allocations: 7.953 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.102, allocations: 117.9 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.102, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.102, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/1.102, allocations: 101 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/1.102, allocations: 7.938 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/1.102, allocations: 11.98 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/1.102, allocations: 7.984 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003542/1.103, allocations: 375.8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003541/1.103, allocations: 469.2 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.191e-05/1.103, allocations: 47.97 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.032e-05/1.103, allocations: 100.5 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/1.103, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007393/1.104, allocations: 190.1 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005605/1.105, allocations: 0.6328 MB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of Templates: time 0.004709/1.109, allocations: 1.775 MB / 1.177 GB, free: 9.652 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