Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, 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.001336/0.001336, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 61.33 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4235, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002601/0.4261, allocations: 0.9629 MB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.4304, allocations: 2.529 MB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.4307, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.556e-05/0.4308, allocations: 7.875 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.4312, allocations: 47.72 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.4328, allocations: 418.4 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.4333, allocations: 307.1 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.4334, allocations: 21.66 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.4338, allocations: 123.7 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.4341, allocations: 147.5 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.4342, allocations: 12 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008985/0.4351, allocations: 299.7 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.4352, allocations: 63.77 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.4354, allocations: 107.5 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4365, allocations: 0.5379 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4365, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4365, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4366, allocations: 7.938 kB / 1.073 GB, free: 5.332 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.001755/0.4383, allocations: 0.6529 MB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4384, allocations: 11.97 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4385, allocations: 28.64 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.4387, allocations: 200.7 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4389, allocations: 131.4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.4389, allocations: 20.38 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.4394, allocations: 244.4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4394, allocations: 7.938 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.4394, allocations: 4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4394, allocations: 4 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.4397, allocations: 115.8 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.4403, allocations: 399.1 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4419, allocations: 491.3 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.4421, allocations: 162.2 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.4422, allocations: 11.92 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.4428, allocations: 323.4 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 3.336e-06/0.4428, allocations: 4 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0009057/0.4437, allocations: 405 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.4439, allocations: 350.1 kB / 1.076 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4441, allocations: 167.8 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.4442, allocations: 41.7 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.4443, allocations: 101.1 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.4444, allocations: 106.5 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.4446, allocations: 98.22 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4448, allocations: 330.8 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.4451, allocations: 117.1 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.4454, allocations: 169 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.446, allocations: 262.8 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.446, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008441/0.4469, allocations: 388.3 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.4469, allocations: 8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4469, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.447, allocations: 8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.4474, allocations: 75.88 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.4474, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.4477, allocations: 43.66 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.4478, allocations: 23.98 kB / 1.078 GB, free: 15.35 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.0002048/0.448, allocations: 150.7 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.4481, allocations: 31.64 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.4488, allocations: 366.9 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.4489, allocations: 12.03 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4489, allocations: 11.94 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4489, allocations: 4 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.4495, allocations: 349.1 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4495, allocations: 7.938 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.4498, allocations: 75.84 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.4498, allocations: 4 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.4499, allocations: 19.98 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.4499, allocations: 7.938 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4499, allocations: 4 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007843/0.4507, allocations: 497.9 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.4509, allocations: 152.5 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.451, allocations: 19.98 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.4512, allocations: 27.98 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4514, allocations: 47.88 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.4514, allocations: 31.92 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001068/0.4515, allocations: 127.2 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4515, allocations: 0 / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007207/0.4523, allocations: 215.7 kB / 1.08 GB, free: 13.1 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.000933/0.4532, allocations: 321 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008621/0.4541, allocations: 327.8 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.4541, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.4545, allocations: 183.7 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.4549, allocations: 34.98 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.4563, allocations: 0.6509 MB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4569, allocations: 0.7652 MB / 1.082 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.4572, allocations: 62.42 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4573, allocations: 43.42 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4573, allocations: 0 / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.01185/0.4692, allocations: 5.323 MB / 1.088 GB, free: 5.332 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)