Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001303/0.001303, allocations: 198.5 kB / 16.14 MB, free: 6.695 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.298/3.298, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 61.16 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3999, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002409/0.4024, allocations: 0.9589 MB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003575/0.406, allocations: 2.537 MB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.4062, allocations: 3.938 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.4062, allocations: 7.875 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.4065, allocations: 47.66 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4078, allocations: 418.1 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.4082, allocations: 307.1 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.4083, allocations: 13.67 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.4086, allocations: 123.6 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4089, allocations: 147.5 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.409, allocations: 19.98 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.4097, allocations: 299.7 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.4098, allocations: 63.77 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.4099, allocations: 111.5 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.4111, allocations: 0.5301 MB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4111, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4111, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.4111, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 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.001753/0.4129, allocations: 0.6584 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4129, allocations: 16.03 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4131, allocations: 28.58 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.4133, allocations: 200.7 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.4135, allocations: 127.4 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.4136, allocations: 20.36 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.414, allocations: 248.4 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.414, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.414, allocations: 8 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4141, allocations: 4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.4143, allocations: 119.7 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.4149, allocations: 399.1 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.4164, allocations: 491.3 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4166, allocations: 158.3 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.4167, allocations: 7.984 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.4173, allocations: 323.4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 3.666e-06/0.4173, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0009651/0.4183, allocations: 414.6 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/0.4185, allocations: 354.6 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.4187, allocations: 167.2 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.4187, allocations: 37.7 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.4188, allocations: 97.12 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4189, allocations: 110.5 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.4191, allocations: 94.22 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4192, allocations: 338.8 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.4195, allocations: 121.1 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.4198, allocations: 165 kB / 1.077 GB, free: 128 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.4204, allocations: 270.8 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4204, allocations: 0 / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008241/0.4213, allocations: 382.9 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4213, allocations: 4 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4213, allocations: 0 / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.4213, allocations: 4 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.4218, allocations: 83.81 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4218, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.4221, allocations: 51.66 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.4222, allocations: 23.98 kB / 1.078 GB, free: 15.31 MB / 0.8419 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.0001794/0.4223, allocations: 149.7 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.4224, allocations: 31.64 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.4232, allocations: 358.1 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4232, allocations: 8 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4232, allocations: 4 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4232, allocations: 7.984 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.4237, allocations: 345.1 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4237, allocations: 7.938 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.424, allocations: 72.09 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.424, allocations: 11.94 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.424, allocations: 23.98 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.424, allocations: 8 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4241, allocations: 7.938 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.4249, allocations: 489.9 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.425, allocations: 156.6 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.4251, allocations: 15.98 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4254, allocations: 31.97 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.4255, allocations: 55.88 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.4256, allocations: 23.98 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.999e-05/0.4257, allocations: 123.2 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4257, allocations: 0 / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006497/0.4263, allocations: 215.7 kB / 1.08 GB, free: 13.07 MB / 0.8419 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.000707/0.4271, allocations: 328.9 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.4278, allocations: 330.9 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4278, allocations: 0 / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.4281, allocations: 188.5 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4285, allocations: 34.98 kB / 1.081 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4296, allocations: 0.6491 MB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.43, allocations: 0.7652 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.4303, allocations: 58.17 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.4304, allocations: 47.42 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.4304, allocations: 3.938 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.01026/0.4407, allocations: 5.309 MB / 1.088 GB, free: 5.309 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)