Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0009987/0.0009987, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001237/0.001237, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005755/0.0005756, allocations: 12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6129, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001023/0.614, allocations: 0.5911 MB / 0.7286 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.6169, allocations: 2.422 MB / 0.7309 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.617, allocations: 4 kB / 0.7309 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.617, allocations: 7.875 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.6173, allocations: 47.89 kB / 0.731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.618, allocations: 414.9 kB / 0.7314 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.6183, allocations: 183.7 kB / 0.7316 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.6184, allocations: 15.64 kB / 0.7316 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.6186, allocations: 143.6 kB / 0.7317 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.6189, allocations: 143.5 kB / 0.7318 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.6189, allocations: 16 kB / 0.7319 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.6194, allocations: 291.7 kB / 0.7321 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.6195, allocations: 59.78 kB / 0.7322 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.6196, allocations: 57.64 kB / 0.7323 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.6201, allocations: 407 kB / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.6201, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6201, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.6201, allocations: 0 / 0.7326 GB, free: 6.641 MB / 0.545 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.001328/0.6215, allocations: 0.6332 MB / 0.7333 GB, free: 5.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.6215, allocations: 8.031 kB / 0.7333 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.6216, allocations: 19.81 kB / 0.7333 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.6218, allocations: 192.9 kB / 0.7335 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6219, allocations: 126.8 kB / 0.7336 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.622, allocations: 23.94 kB / 0.7336 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.6223, allocations: 235.7 kB / 0.7338 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6223, allocations: 4 kB / 0.7338 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.6224, allocations: 8 kB / 0.7338 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6224, allocations: 4 kB / 0.7339 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.6226, allocations: 119.7 kB / 0.734 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.6231, allocations: 399 kB / 0.7343 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6244, allocations: 495.5 kB / 0.7348 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.6245, allocations: 16.12 kB / 0.7348 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.625, allocations: 315.5 kB / 0.7351 GB, free: 3.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.625, allocations: 0 / 0.7351 GB, free: 3.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007916/0.6258, allocations: 398 kB / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.626, allocations: 362.6 kB / 0.7359 GB, free: 2.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.6262, allocations: 167.2 kB / 0.736 GB, free: 2.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.6262, allocations: 37.7 kB / 0.7361 GB, free: 2.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.6263, allocations: 97.12 kB / 0.7361 GB, free: 2.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6264, allocations: 118.6 kB / 0.7363 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.6264, allocations: 4 kB / 0.7363 GB, free: 2.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6266, allocations: 338.8 kB / 0.7366 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.6268, allocations: 109.1 kB / 0.7367 GB, free: 1.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.6271, allocations: 169 kB / 0.7369 GB, free: 1.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.6274, allocations: 114.6 kB / 0.737 GB, free: 1.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6274, allocations: 0 / 0.737 GB, free: 1.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007029/0.6281, allocations: 383.3 kB / 0.7373 GB, free: 1.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6282, allocations: 4 kB / 0.7373 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6282, allocations: 12.06 kB / 0.7373 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6282, allocations: 4 kB / 0.7373 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.6286, allocations: 71.88 kB / 0.7374 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.6286, allocations: 7.938 kB / 0.7374 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.6289, allocations: 55.66 kB / 0.7375 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.6289, allocations: 23.92 kB / 0.7375 GB, free: 1.133 MB / 0.545 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.6291, allocations: 162.5 kB / 0.7377 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.6292, allocations: 23.72 kB / 0.7377 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.6298, allocations: 362 kB / 0.738 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6299, allocations: 12 kB / 0.738 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6299, allocations: 4 kB / 0.738 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6299, allocations: 3.984 kB / 0.738 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.6303, allocations: 353.1 kB / 0.7384 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6303, allocations: 0 / 0.7384 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.6306, allocations: 75.89 kB / 0.7385 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-06/0.6306, allocations: 4 kB / 0.7385 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.6306, allocations: 16 kB / 0.7385 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.6307, allocations: 19.92 kB / 0.7385 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6307, allocations: 0 / 0.7385 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.6314, allocations: 0.6219 MB / 0.7391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6316, allocations: 152.5 kB / 0.7392 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.6317, allocations: 16 kB / 0.7393 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.6319, allocations: 39.97 kB / 0.7393 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6321, allocations: 55.83 kB / 0.7393 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.6321, allocations: 23.98 kB / 0.7394 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.6322, allocations: 131.8 kB / 0.7395 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6322, allocations: 3.938 kB / 0.7395 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006165/0.6328, allocations: 211.7 kB / 0.7397 GB, free: 14.67 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005172/0.6334, allocations: 324.9 kB / 0.74 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.634, allocations: 330.3 kB / 0.7403 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.634, allocations: 0 / 0.7403 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.6343, allocations: 183.7 kB / 0.7405 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.6345, allocations: 20.19 kB / 0.7405 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.6355, allocations: 0.6376 MB / 0.7411 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.6358, allocations: 0.7652 MB / 0.7419 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.636, allocations: 57.67 kB / 0.7419 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.6361, allocations: 43.41 kB / 0.742 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.6362, allocations: 4 kB / 0.742 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.009233/0.6454, allocations: 5.167 MB / 0.747 GB, free: 7.117 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: