Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 117.1 kB / 16.81 MB, free: 5.77 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.001584/0.001584, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.513/1.513, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.14 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4402, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002432/0.4426, allocations: 0.9021 MB / 1.263 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003654/0.4463, allocations: 2.487 MB / 1.265 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.4464, allocations: 4 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.4464, allocations: 11.81 kB / 1.265 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.4467, allocations: 47.55 kB / 1.265 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.448, allocations: 0.4952 MB / 1.266 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.4485, allocations: 323.1 kB / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.4485, allocations: 13.69 kB / 1.266 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.4488, allocations: 139.7 kB / 1.266 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.449, allocations: 159.5 kB / 1.266 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.4491, allocations: 27.94 kB / 1.267 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009474/0.45, allocations: 371.7 kB / 1.267 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.4501, allocations: 63.84 kB / 1.267 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4503, allocations: 119.5 kB / 1.267 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009486/0.4512, allocations: 0.549 MB / 1.268 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4513, allocations: 4 kB / 1.268 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4513, allocations: 0 / 1.268 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.4513, allocations: 0 / 1.268 GB, free: 7.27 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001695/0.453, allocations: 0.6675 MB / 1.268 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.453, allocations: 12.03 kB / 1.268 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4531, allocations: 28.8 kB / 1.268 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.4534, allocations: 196.7 kB / 1.268 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.4536, allocations: 127.4 kB / 1.269 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.4536, allocations: 24.36 kB / 1.269 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.4542, allocations: 249.1 kB / 1.269 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4542, allocations: 0 / 1.269 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.4542, allocations: 7.984 kB / 1.269 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4542, allocations: 4 kB / 1.269 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.4546, allocations: 115.7 kB / 1.269 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.4553, allocations: 395.2 kB / 1.269 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.4569, allocations: 487.2 kB / 1.27 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.4571, allocations: 150.3 kB / 1.27 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.4572, allocations: 11.92 kB / 1.27 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006063/0.4578, allocations: 327.4 kB / 1.27 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=40): time 2.976e-06/0.4578, allocations: 0 / 1.27 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.0009219/0.4587, allocations: 409 kB / 1.271 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.4589, allocations: 358.6 kB / 1.271 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4591, allocations: 167.3 kB / 1.271 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.4592, allocations: 45.69 kB / 1.271 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.4593, allocations: 89.14 kB / 1.271 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4594, allocations: 119 kB / 1.271 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.4596, allocations: 102.2 kB / 1.272 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4598, allocations: 334.8 kB / 1.272 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.4601, allocations: 117.1 kB / 1.272 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.4604, allocations: 170 kB / 1.272 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.461, allocations: 267.7 kB / 1.272 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.461, allocations: 0 / 1.272 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007769/0.4618, allocations: 385.7 kB / 1.273 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4618, allocations: 5.719 kB / 1.273 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4618, allocations: 4 kB / 1.273 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4619, allocations: 0 / 1.273 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.4623, allocations: 79.88 kB / 1.273 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4623, allocations: 4 kB / 1.273 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.4626, allocations: 51.7 kB / 1.273 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4626, allocations: 19.98 kB / 1.273 GB, free: 1.262 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002019/0.4628, allocations: 170.4 kB / 1.273 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.4629, allocations: 27.8 kB / 1.273 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000724/0.4636, allocations: 350.2 kB / 1.273 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4636, allocations: 7.984 kB / 1.273 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4636, allocations: 0 / 1.273 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.4638, allocations: 148.8 kB / 1.274 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.4639, allocations: 27.86 kB / 1.274 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4642, allocations: 27.97 kB / 1.274 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4643, allocations: 47.89 kB / 1.274 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001332/0.4656, allocations: 1.36 MB / 1.275 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001289/0.4669, allocations: 1.393 MB / 1.276 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002663/0.4672, allocations: 152.6 kB / 1.276 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001118/0.4673, allocations: 119.2 kB / 1.277 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of Backend: time 5.71e-07/0.4673, allocations: 0 / 1.277 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.4696, allocations: 471 kB / 1.277 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001158/0.4708, allocations: 0.8246 MB / 1.278 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.01335/0.4841, allocations: 5.954 MB / 1.284 GB, free: 6.105 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches