Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.055/5.055, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.002369, allocations: 358.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.127/4.127, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003521/0.00352, allocations: 179.8 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 15.98 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5931/0.5936, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008424/0.5945, allocations: 0.588 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.5972, allocations: 2.332 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.5973, allocations: 1 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.5973, allocations: 7.875 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.5975, allocations: 37.59 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.5985, allocations: 371.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.5987, allocations: 251.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.5988, allocations: 20.58 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.599, allocations: 128.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.5992, allocations: 128.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.5992, allocations: 12.5 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.5998, allocations: 276.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.5999, allocations: 51.86 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.5999, allocations: 65.56 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.6004, allocations: 375.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.692e-06/0.6004, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.759e-06/0.6004, allocations: 1.25 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.39e-06/0.6005, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001249/0.6017, allocations: 0.6225 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.6018, allocations: 16.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.6019, allocations: 23.72 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.602, allocations: 190.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.6021, allocations: 130 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.6022, allocations: 20 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.6026, allocations: 241.4 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6026, allocations: 4.656 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.6027, allocations: 4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.622e-06/0.6027, allocations: 5.438 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.603, allocations: 126 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.6038, allocations: 0.9514 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6054, allocations: 498.3 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.6056, allocations: 156.1 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.6057, allocations: 6.156 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.6062, allocations: 320.5 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 4.524e-06/0.6062, allocations: 0 / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.000979/0.6072, allocations: 403.6 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.6073, allocations: 352.2 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.6075, allocations: 174.5 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.6075, allocations: 46.64 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.6076, allocations: 112.8 kB / 1.469 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.6077, allocations: 111.5 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.6077, allocations: 8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.6078, allocations: 336.6 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.6082, allocations: 101.1 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.6085, allocations: 178 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.6089, allocations: 118.8 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6089, allocations: 0 / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009385/0.6099, allocations: 363.6 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6099, allocations: 8 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.3e-06/0.6099, allocations: 3.953 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6099, allocations: 5.375 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.6104, allocations: 83.81 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6105, allocations: 4 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.6108, allocations: 58.53 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.6109, allocations: 23.98 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$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.0001792/0.6111, allocations: 155.9 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.6112, allocations: 28.75 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.612, allocations: 360.7 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.612, allocations: 11.95 kB / 1.471 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6121, allocations: 11.47 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.6121, allocations: 11.92 kB / 1.471 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.6125, allocations: 353 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.055e-06/0.6126, allocations: 3.984 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.613, allocations: 71.91 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.613, allocations: 4 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.6131, allocations: 19.98 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.944e-06/0.6131, allocations: 8 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.256e-06/0.6131, allocations: 7.891 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.614, allocations: 481.4 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6142, allocations: 152.5 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.6143, allocations: 16 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.6146, allocations: 41.66 kB / 1.472 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6147, allocations: 50.05 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.6148, allocations: 23.98 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001091/0.6149, allocations: 135.3 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6149, allocations: 3.938 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007058/0.6157, allocations: 212.9 kB / 1.473 GB, free: 271.3 MB / 0.8542 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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.0005314/0.6162, allocations: 305.7 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007829/0.617, allocations: 323 kB / 1.473 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.678e-06/0.617, allocations: 0 / 1.473 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.6174, allocations: 179.9 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.6178, allocations: 41.31 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.6189, allocations: 0.6304 MB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.6191, allocations: 0.769 MB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003739/0.6195, allocations: 64.14 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6197, allocations: 43.41 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.703e-06/0.6197, allocations: 3.938 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01136/0.631, allocations: 5.019 MB / 1.48 GB, free: 264.1 MB / 0.8542 GB