Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 105.1 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 209.5 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 66.14 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4267, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00207/0.4288, allocations: 0.8431 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.4321, allocations: 2.416 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.4321, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.178e-05/0.4322, allocations: 15.8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.4324, allocations: 55.56 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4334, allocations: 0.4915 MB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.4338, allocations: 319.1 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.4339, allocations: 9.797 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.4341, allocations: 147.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.4344, allocations: 151.5 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.4345, allocations: 24 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006237/0.4351, allocations: 391.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.4351, allocations: 71.78 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4353, allocations: 99.61 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009103/0.4362, allocations: 0.5801 MB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4362, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4362, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4362, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 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.001429/0.4376, allocations: 0.6115 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4377, allocations: 8.031 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.4387, allocations: 92.72 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4389, allocations: 135.6 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.4391, allocations: 234.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.4392, allocations: 16.38 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.4396, allocations: 248.4 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4396, allocations: 3.938 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4396, allocations: 7.938 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4396, allocations: 8 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.4399, allocations: 111.8 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4403, allocations: 298.9 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.4418, allocations: 479.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.442, allocations: 146.3 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.442, allocations: 12 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.4425, allocations: 319.4 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 2.384e-06/0.4425, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008731/0.4434, allocations: 422.5 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.4436, allocations: 354.1 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.4438, allocations: 171.9 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.4438, allocations: 37.7 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.4439, allocations: 93.64 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.444, allocations: 123 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4442, allocations: 90.17 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4443, allocations: 334.8 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.4446, allocations: 125 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.4449, allocations: 160.4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.4455, allocations: 275 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4455, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007805/0.4463, allocations: 373.4 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4463, allocations: 13.64 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4463, allocations: 4 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4463, allocations: 0 / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.4467, allocations: 79.83 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4468, allocations: 7.984 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.447, allocations: 43.77 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.4471, allocations: 19.98 kB / 1.338 GB, free: 5.504 MB / 1.029 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.0001694/0.4473, allocations: 157.7 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.4473, allocations: 27.8 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.448, allocations: 362.2 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.448, allocations: 7.984 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.448, allocations: 7.938 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.4482, allocations: 67.69 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.4483, allocations: 23.92 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4485, allocations: 27.97 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4486, allocations: 55.8 kB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001297/0.4499, allocations: 1.344 MB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/0.4511, allocations: 1.391 MB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002591/0.4513, allocations: 152.7 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.88e-05/0.4514, allocations: 119.2 kB / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of Backend: time 7.11e-07/0.4514, allocations: 3.938 kB / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.4535, allocations: 495.5 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008731/0.4544, allocations: 0.8169 MB / 1.343 GB, free: 368 kB / 1.029 GB Notification: Performance of Templates: time 0.01207/0.4665, allocations: 6.557 MB / 1.349 GB, free: 9.855 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.72359912700631]