Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001868/0.001868, allocations: 80.52 kB / 19.96 MB, free: 4.598 MB / 18.57 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.002006/0.002006, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 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.723/1.723, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.276/3.276, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.388e-05/4.678e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002302/0.002349, allocations: 0.8513 MB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.006422, allocations: 2.412 MB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.006544, allocations: 4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.006603, allocations: 11.81 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.006906, allocations: 43.56 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.008601, allocations: 0.5058 MB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.009135, allocations: 326.9 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.009234, allocations: 13.8 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.009759, allocations: 199.6 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.01005, allocations: 123.7 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.01011, allocations: 24 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.01089, allocations: 391.6 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.01099, allocations: 67.78 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.01113, allocations: 91.78 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01216, allocations: 0.6543 MB / 1.007 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01216, allocations: 0 / 1.007 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.072e-06/0.01217, allocations: 4 kB / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.01218, allocations: 0 / 1.007 GB, free: 7.297 MB / 0.9636 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.001476/0.01365, allocations: 0.6039 MB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.0137, allocations: 8.75 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.01466, allocations: 88.77 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.01483, allocations: 138.2 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.01511, allocations: 238.2 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.01516, allocations: 16.38 kB / 1.008 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.01561, allocations: 244.2 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01562, allocations: 192 / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.01565, allocations: 12.12 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.0158, allocations: 4 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.01607, allocations: 107.8 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.01655, allocations: 290.9 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.01817, allocations: 483.2 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.01843, allocations: 150.3 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.01848, allocations: 11.94 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.01902, allocations: 319.5 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.01902, allocations: 3.938 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.0009662/0.01999, allocations: 417 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000267/0.02026, allocations: 358 kB / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.02044, allocations: 171.2 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.02049, allocations: 37.7 kB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.02058, allocations: 101.1 kB / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.02071, allocations: 115.1 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.02087, allocations: 98.11 kB / 1.011 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.02107, allocations: 334.8 kB / 1.011 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.02136, allocations: 113.4 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.02172, allocations: 176.3 kB / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.02233, allocations: 253.1 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02233, allocations: 0 / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008609/0.02319, allocations: 389.6 kB / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.02321, allocations: 8 kB / 1.012 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02322, allocations: 0 / 1.012 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.02325, allocations: 11.88 kB / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.02367, allocations: 79.88 kB / 1.012 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.02368, allocations: 4 kB / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.02398, allocations: 48.75 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.02402, allocations: 23.98 kB / 1.012 GB, free: 1.391 MB / 0.9636 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.0001851/0.02421, allocations: 150.4 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.02428, allocations: 31.84 kB / 1.012 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.02508, allocations: 362.3 kB / 1.012 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.0251, allocations: 11.94 kB / 1.012 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.02511, allocations: 4 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.02512, allocations: 7.984 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.02552, allocations: 249 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.02553, allocations: 0 / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.02584, allocations: 75.84 kB / 1.013 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.02585, allocations: 4 kB / 1.013 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.02589, allocations: 19.98 kB / 1.013 GB, free: 464 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.0259, allocations: 4 kB / 1.013 GB, free: 460 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.0259, allocations: 7.938 kB / 1.013 GB, free: 452 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.02676, allocations: 496.6 kB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.02694, allocations: 75.61 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.027, allocations: 16 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.02724, allocations: 35.97 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.02737, allocations: 52.05 kB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.02741, allocations: 23.98 kB / 1.013 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001287/0.02754, allocations: 124.6 kB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02754, allocations: 0 / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006575/0.0282, allocations: 227.2 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006947/0.02889, allocations: 372 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.02961, allocations: 315.2 kB / 1.014 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02961, allocations: 4 kB / 1.014 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.02995, allocations: 171.7 kB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.03023, allocations: 27.94 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.03142, allocations: 0.5482 MB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.0316, allocations: 151.7 kB / 1.015 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.0318, allocations: 58.19 kB / 1.015 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.03194, allocations: 52.47 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.03194, allocations: 0 / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of Templates: time 0.01243/0.04437, allocations: 5.796 MB / 1.021 GB, free: 7.844 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.484378576278687]