Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.001402/0.001402, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.002177/0.002177, allocations: 205.4 kB / 23 MB, free: 4.934 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.765/1.765, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.409/3.409, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") [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.002058/0.002058, allocations: 62.03 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002514/0.3711, allocations: 0.8588 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.375, allocations: 2.42 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.459e-05/0.3751, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.3751, allocations: 11.81 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.3754, allocations: 47.56 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3767, allocations: 0.4905 MB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.3771, allocations: 315.1 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.3772, allocations: 9.812 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.3775, allocations: 163.6 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3777, allocations: 147.5 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.3778, allocations: 24 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006884/0.3784, allocations: 395.6 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.3785, allocations: 63.86 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3786, allocations: 111.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.3796, allocations: 0.5685 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3796, allocations: 4 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3796, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3796, allocations: 0 / 1.333 GB, free: 11.37 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.001531/0.3811, allocations: 0.6037 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3811, allocations: 8.031 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3823, allocations: 92.72 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3824, allocations: 144.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.3827, allocations: 230.2 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.3827, allocations: 20.38 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3832, allocations: 244.4 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3832, allocations: 4 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3832, allocations: 11.98 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3832, allocations: 4 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.3835, allocations: 115.7 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.384, allocations: 287 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.3857, allocations: 491.2 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3859, allocations: 154.2 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.386, allocations: 4 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.3866, allocations: 319.4 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 2.926e-06/0.3866, allocations: 0 / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.001028/0.3876, allocations: 423 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.3878, allocations: 346.1 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.388, allocations: 171.2 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.3881, allocations: 37.7 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.3881, allocations: 97.12 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3883, allocations: 119 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.3884, allocations: 98.16 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3886, allocations: 334.8 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.389, allocations: 108.9 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.3894, allocations: 172.3 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.39, allocations: 273.1 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.39, allocations: 0 / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008325/0.3908, allocations: 377 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3909, allocations: 11.94 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3909, allocations: 4 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3909, allocations: 4 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3913, allocations: 75.97 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3913, allocations: 11.94 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.3917, allocations: 51.75 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3917, allocations: 19.97 kB / 1.338 GB, free: 5.457 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.0002133/0.3919, allocations: 153.7 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.392, allocations: 27.8 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009143/0.3929, allocations: 366.2 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3929, allocations: 7.984 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3929, allocations: 0 / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.3931, allocations: 67.69 kB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.3932, allocations: 19.94 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3934, allocations: 35.97 kB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3935, allocations: 55.8 kB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001456/0.395, allocations: 1.348 MB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001476/0.3965, allocations: 1.38 MB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003459/0.3968, allocations: 148.3 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001358/0.397, allocations: 131.2 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of Backend: time 3.7e-07/0.397, allocations: 0 / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.3995, allocations: 489.2 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of SimCode: time 0.00113/0.4006, allocations: 0.8247 MB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of Templates: time 0.01289/0.4135, allocations: 6.552 MB / 1.349 GB, free: 9.82 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.886826930996904]