Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001234/0.001234, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.001221/0.001221, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.4/1.4, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9671/0.9686, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002644/0.9713, allocations: 0.9081 MB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.9749, allocations: 2.473 MB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.975, allocations: 0 / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.9751, allocations: 17.12 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.9753, allocations: 46.25 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.9764, allocations: 499.4 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.9768, allocations: 321.9 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.9769, allocations: 16.09 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.9771, allocations: 151.3 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.9774, allocations: 151.7 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.9774, allocations: 22.94 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.9782, allocations: 372.3 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.9782, allocations: 65.81 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.9784, allocations: 119 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.9792, allocations: 0.5405 MB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.9793, allocations: 5.125 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9793, allocations: 0.75 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.9793, allocations: 3.938 kB / 1.094 GB, free: 2.234 MB / 0.8575 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.001446/0.9807, allocations: 0.6593 MB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9808, allocations: 9.047 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.9809, allocations: 24.84 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.981, allocations: 198.8 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.9811, allocations: 129.5 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.9812, allocations: 18.27 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.9816, allocations: 252.9 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.9816, allocations: 1.312 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.9817, allocations: 7.453 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.9817, allocations: 4.953 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.982, allocations: 116.5 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.9824, allocations: 398.8 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.9839, allocations: 499.3 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.9841, allocations: 160.9 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.9841, allocations: 19.42 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.9847, allocations: 317 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=40): time 2.534e-06/0.9847, allocations: 0.5 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.0009982/0.9857, allocations: 408.5 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.9859, allocations: 352.9 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.9861, allocations: 168.5 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.9861, allocations: 39.83 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.9862, allocations: 98.3 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9863, allocations: 118.4 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.9865, allocations: 95.08 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9867, allocations: 331.2 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.987, allocations: 116 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.9873, allocations: 166.9 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.9879, allocations: 268.5 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9879, allocations: 1.125 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008104/0.9888, allocations: 381 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9888, allocations: 11 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9888, allocations: 5.062 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9888, allocations: 3.344 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.9892, allocations: 76.64 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.9893, allocations: 3.75 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.9896, allocations: 48.98 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.9896, allocations: 25.67 kB / 1.099 GB, free: 14.3 MB / 0.8731 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.0001904/0.9898, allocations: 154.2 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.9899, allocations: 29.44 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007282/0.9906, allocations: 357.5 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9906, allocations: 7.016 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9907, allocations: 2.094 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.9909, allocations: 151.6 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.9909, allocations: 16.83 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.9912, allocations: 34.22 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.9913, allocations: 51.92 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001228/0.9926, allocations: 1.357 MB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001071/0.9937, allocations: 1.382 MB / 1.103 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003049/0.994, allocations: 164.4 kB / 1.103 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001078/0.9941, allocations: 122.6 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of Backend: time 2.91e-07/0.9941, allocations: 0 / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.9966, allocations: 493 kB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001417/0.9981, allocations: 0.8236 MB / 1.104 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.01328/1.011, allocations: 5.85 MB / 1.11 GB, free: 9.953 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches