Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001286/0.001286, allocations: 110.7 kB / 16.42 MB, free: 6.492 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.001226/0.001226, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 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.535/2.535, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 151.6 MB / 1.167 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002413/1.018, allocations: 0.9079 MB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003573/1.022, allocations: 2.477 MB / 1.171 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/1.022, allocations: 4 kB / 1.171 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.848e-05/1.022, allocations: 15.8 kB / 1.171 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/1.022, allocations: 47.56 kB / 1.171 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/1.024, allocations: 0.4922 MB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/1.024, allocations: 319 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/1.024, allocations: 21.69 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/1.025, allocations: 147.6 kB / 1.172 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/1.025, allocations: 151.5 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/1.025, allocations: 24 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008107/1.026, allocations: 375.7 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/1.026, allocations: 63.86 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/1.026, allocations: 119.5 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009752/1.027, allocations: 0.5511 MB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/1.027, allocations: 0 / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/1.027, allocations: 0 / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.473e-05/1.027, allocations: 0 / 1.173 GB, free: 14.35 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.001583/1.029, allocations: 0.6568 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.029, allocations: 16.61 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/1.029, allocations: 24.66 kB / 1.174 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.029, allocations: 188.8 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/1.029, allocations: 127.4 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/1.029, allocations: 20.38 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/1.03, allocations: 251.8 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.03, allocations: 0 / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.03, allocations: 8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/1.03, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/1.03, allocations: 119.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/1.031, allocations: 395.1 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/1.032, allocations: 495.2 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/1.032, allocations: 166.3 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/1.032, allocations: 11.97 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/1.033, allocations: 315.5 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=40): time 3.056e-06/1.033, allocations: 0 / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.0008658/1.034, allocations: 414.5 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/1.034, allocations: 354.6 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.034, allocations: 167.2 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/1.034, allocations: 41.7 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/1.034, allocations: 97.12 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.035, allocations: 114.4 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.035, allocations: 94.22 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.035, allocations: 334.8 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/1.035, allocations: 117.1 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/1.035, allocations: 169 kB / 1.177 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/1.036, allocations: 259.2 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.036, allocations: 0 / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007835/1.037, allocations: 397.1 kB / 1.178 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.037, allocations: 4 kB / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.037, allocations: 4 kB / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.037, allocations: 0 / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.037, allocations: 75.88 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.037, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/1.038, allocations: 51.66 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/1.038, allocations: 19.98 kB / 1.178 GB, free: 8.359 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.0001783/1.038, allocations: 161.7 kB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/1.038, allocations: 31.64 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/1.039, allocations: 358.1 kB / 1.179 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.039, allocations: 7.984 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.039, allocations: 448 / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.039, allocations: 148.6 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/1.039, allocations: 19.98 kB / 1.179 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.039, allocations: 27.98 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.039, allocations: 51.88 kB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001271/1.041, allocations: 1.352 MB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001157/1.042, allocations: 1.393 MB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002908/1.042, allocations: 163.8 kB / 1.182 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001085/1.042, allocations: 128.8 kB / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of Backend: time 9.32e-07/1.042, allocations: 0 / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002287/1.044, allocations: 489.7 kB / 1.182 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001058/1.046, allocations: 0.8111 MB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of Templates: time 0.01198/1.058, allocations: 5.857 MB / 1.189 GB, free: 13.29 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches