Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001716/0.001716, allocations: 95.92 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.001851/0.001851, allocations: 215.2 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9405,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.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9405,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.SunRiseSet") [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.002081/0.002081, allocations: 68.75 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4247, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002255/0.427, allocations: 0.8548 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.4305, allocations: 2.412 MB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4306, allocations: 8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.4307, allocations: 15.75 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.4309, allocations: 43.61 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4322, allocations: 0.4905 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.4327, allocations: 323.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.4327, allocations: 5.812 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.4331, allocations: 155.6 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.4333, allocations: 151.5 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.4334, allocations: 24 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.4341, allocations: 395.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.4342, allocations: 67.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4343, allocations: 103.6 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008742/0.4352, allocations: 0.5762 MB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4352, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4352, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4352, allocations: 4 kB / 1.333 GB, free: 11.43 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.001524/0.4367, allocations: 0.6037 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4368, allocations: 8.031 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.4379, allocations: 92.73 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.438, allocations: 143.6 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.4383, allocations: 230.2 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.4383, allocations: 20.38 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.4387, allocations: 244.4 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4388, allocations: 0 / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.4388, allocations: 8 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.4388, allocations: 4 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.439, allocations: 115.7 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.4395, allocations: 291 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.441, allocations: 487.2 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.4412, allocations: 150.3 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.4413, allocations: 12 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.4418, allocations: 315.5 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 3.677e-06/0.4418, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008861/0.4427, allocations: 417.6 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.4429, allocations: 354.2 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4431, allocations: 167.9 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.4431, allocations: 45.69 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4432, allocations: 97.12 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4433, allocations: 115.1 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4435, allocations: 94.16 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4436, allocations: 338.8 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.4439, allocations: 112.9 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.4443, allocations: 172.3 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.4449, allocations: 273.4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4449, allocations: 4 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008631/0.4458, allocations: 372.1 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4458, allocations: 11.94 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4458, allocations: 0 / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.4458, allocations: 4 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.4463, allocations: 71.88 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.4463, allocations: 7.938 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.4466, allocations: 55.75 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.4467, allocations: 19.98 kB / 1.338 GB, free: 5.52 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.0001846/0.4469, allocations: 154.5 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.447, allocations: 27.8 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.4477, allocations: 367.1 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.4477, allocations: 7.984 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4477, allocations: 8 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.4479, allocations: 67.69 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.448, allocations: 23.92 kB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4483, allocations: 27.98 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.4484, allocations: 55.84 kB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001341/0.4497, allocations: 1.348 MB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001246/0.451, allocations: 1.388 MB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000284/0.4513, allocations: 143.8 kB / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001315/0.4514, allocations: 127.2 kB / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4514, allocations: 0 / 1.341 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.4537, allocations: 481 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009857/0.4547, allocations: 0.8286 MB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of Templates: time 0.01273/0.4674, allocations: 6.533 MB / 1.349 GB, free: 9.898 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.994284688000334]