Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001465/0.001465, allocations: 113.6 kB / 16.42 MB, free: 6.48 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.001288/0.001288, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.2 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.592/2.592, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002388/1.036, allocations: 0.8992 MB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003592/1.04, allocations: 2.488 MB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/1.04, allocations: 0 / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.148e-05/1.04, allocations: 11.81 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/1.04, allocations: 47.56 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/1.042, allocations: 0.4922 MB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/1.042, allocations: 330.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/1.042, allocations: 13.67 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/1.042, allocations: 159.6 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/1.043, allocations: 143.5 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/1.043, allocations: 24 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007498/1.044, allocations: 371.7 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/1.044, allocations: 67.84 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/1.044, allocations: 119.5 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009389/1.045, allocations: 0.5495 MB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.045, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/1.045, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.045, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 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.001467/1.046, allocations: 0.6752 MB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.046, allocations: 8.625 kB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/1.046, allocations: 24.8 kB / 1.174 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.047, allocations: 188.8 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/1.047, allocations: 127.4 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/1.047, allocations: 24.36 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/1.047, allocations: 239.9 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.047, allocations: 11.88 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/1.047, allocations: 11.92 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.047, allocations: 4 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/1.047, allocations: 111.8 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/1.048, allocations: 403.1 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.049, allocations: 495.3 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/1.05, allocations: 154.3 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/1.05, allocations: 7.984 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/1.05, allocations: 315.5 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/1.05, allocations: 0 / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.0008678/1.051, allocations: 422 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.051, allocations: 350.1 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/1.051, allocations: 171.3 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/1.052, allocations: 41.7 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/1.052, allocations: 93.64 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.052, allocations: 119 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.052, allocations: 98.22 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.052, allocations: 334.8 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/1.052, allocations: 109.1 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/1.053, allocations: 169 kB / 1.177 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/1.053, allocations: 275.7 kB / 1.178 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.053, allocations: 0 / 1.178 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008289/1.054, allocations: 375.9 kB / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.054, allocations: 10.5 kB / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.054, allocations: 0 / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/1.054, allocations: 8.047 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/1.055, allocations: 83.83 kB / 1.178 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.055, allocations: 4 kB / 1.178 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/1.055, allocations: 51.7 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.055, allocations: 15.98 kB / 1.178 GB, free: 8.148 MB / 0.9044 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.0002036/1.055, allocations: 157.7 kB / 1.178 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/1.055, allocations: 31.73 kB / 1.178 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/1.056, allocations: 354.9 kB / 1.179 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.056, allocations: 7.984 kB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.056, allocations: 4 kB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/1.056, allocations: 152.9 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/1.056, allocations: 12 kB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.056, allocations: 31.97 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.057, allocations: 63.8 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001198/1.058, allocations: 1.352 MB / 1.18 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001065/1.059, allocations: 1.385 MB / 1.182 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002807/1.059, allocations: 164.3 kB / 1.182 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.813e-05/1.059, allocations: 128.8 kB / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/1.059, allocations: 7.938 kB / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.062, allocations: 494.5 kB / 1.182 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009631/1.063, allocations: 0.8207 MB / 1.183 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of Templates: time 0.01221/1.075, allocations: 5.85 MB / 1.189 GB, free: 13.05 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches