Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 112.9 kB / 16.42 MB, free: 5.98 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.001685/0.001685, allocations: 189 kB / 17.35 MB, free: 5.582 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 67.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.049, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002605/1.051, allocations: 0.8995 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003362/1.055, allocations: 2.47 MB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/1.055, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.705e-05/1.055, allocations: 11.81 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/1.055, allocations: 47.56 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/1.056, allocations: 0.4983 MB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004541/1.057, allocations: 319.1 kB / 1.213 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/1.057, allocations: 13.69 kB / 1.213 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/1.057, allocations: 155.6 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/1.058, allocations: 147.5 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/1.058, allocations: 24 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/1.058, allocations: 371.7 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/1.058, allocations: 67.84 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/1.059, allocations: 123.5 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/1.059, allocations: 0.5471 MB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.059, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/1.059, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.059, allocations: 3.938 kB / 1.214 GB, free: 7.957 MB / 0.9356 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.001472/1.061, allocations: 0.6685 MB / 1.215 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.061, allocations: 8.031 kB / 1.215 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.061, allocations: 24.66 kB / 1.215 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.061, allocations: 188.8 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/1.061, allocations: 127.4 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/1.062, allocations: 20.38 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/1.062, allocations: 247.8 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.062, allocations: 3.938 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.062, allocations: 8 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.062, allocations: 4 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/1.062, allocations: 115.7 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/1.063, allocations: 403 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/1.064, allocations: 491.3 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.064, allocations: 154.3 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/1.064, allocations: 19.92 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/1.065, allocations: 315.4 kB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 2.956e-06/1.065, allocations: 0 / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.0008575/1.066, allocations: 413.7 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.066, allocations: 354.1 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.066, allocations: 175.2 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/1.066, allocations: 37.7 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/1.066, allocations: 93.14 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/1.066, allocations: 114.4 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.067, allocations: 98.22 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.067, allocations: 334.8 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/1.067, allocations: 118 kB / 1.218 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/1.067, allocations: 161 kB / 1.218 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/1.068, allocations: 278.5 kB / 1.219 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.068, allocations: 4 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007905/1.069, allocations: 377.1 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.069, allocations: 8 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.069, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.069, allocations: 4 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/1.069, allocations: 75.88 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.069, allocations: 8 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.069, allocations: 47.67 kB / 1.219 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/1.07, allocations: 23.97 kB / 1.219 GB, free: 1.953 MB / 0.9356 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.0001897/1.07, allocations: 150.2 kB / 1.219 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/1.07, allocations: 27.66 kB / 1.219 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/1.071, allocations: 354.5 kB / 1.22 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.071, allocations: 11.98 kB / 1.22 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.071, allocations: 7.938 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.071, allocations: 148.6 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/1.071, allocations: 16 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.071, allocations: 31.91 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.071, allocations: 51.88 kB / 1.22 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00124/1.072, allocations: 1.364 MB / 1.221 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001045/1.074, allocations: 1.381 MB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002596/1.074, allocations: 164.3 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.593e-05/1.074, allocations: 131.2 kB / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of Backend: time 6.61e-07/1.074, allocations: 0 / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.076, allocations: 488.6 kB / 1.223 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009264/1.077, allocations: 0.8234 MB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.01085/1.088, allocations: 5.988 MB / 1.23 GB, free: 6.75 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches