Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 172.9 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007742/0.0007743, allocations: 97.22 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.828e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6001/0.6001, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.778, allocations: 138.1 MB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.7783, allocations: 65.72 kB / 1.099 GB, free: 1.559 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.03207/0.8104, allocations: 10.02 MB / 1.109 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8104, allocations: 0 / 1.109 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8104, allocations: 4 kB / 1.109 GB, free: 7.617 MB / 0.7136 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.001266/0.8117, allocations: 0.6147 MB / 1.11 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8117, allocations: 8.031 kB / 1.11 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.8118, allocations: 20.84 kB / 1.11 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.812, allocations: 190 kB / 1.11 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.812, allocations: 4 kB / 1.11 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.8121, allocations: 16 kB / 1.11 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002206/0.8123, allocations: 95.81 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.8126, allocations: 227.7 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.8126, allocations: 7.938 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.8127, allocations: 0 / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8127, allocations: 4 kB / 1.11 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.8136, allocations: 0.913 MB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.8149, allocations: 479.7 kB / 1.112 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.8151, allocations: 142.3 kB / 1.112 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.8151, allocations: 8 kB / 1.112 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.8156, allocations: 287.3 kB / 1.112 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.564e-06/0.8156, allocations: 4 kB / 1.112 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.00238/0.818, allocations: 0.489 MB / 1.113 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8181, allocations: 350.1 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.8183, allocations: 152.5 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.8183, allocations: 33.7 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.8184, allocations: 113.4 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.8185, allocations: 102.5 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.8185, allocations: 4 kB / 1.113 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8187, allocations: 338.8 kB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.8189, allocations: 89.11 kB / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.8191, allocations: 163.3 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.8221, allocations: 439.9 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8221, allocations: 0 / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003412/0.8255, allocations: 0.6435 MB / 1.115 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.8256, allocations: 9.094 kB / 1.115 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8256, allocations: 0.6562 kB / 1.115 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.8256, allocations: 4 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.826, allocations: 71.83 kB / 1.115 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.826, allocations: 4 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.8264, allocations: 51.66 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.8264, allocations: 23.98 kB / 1.115 GB, free: 1.051 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0001795/0.8266, allocations: 136.2 kB / 1.115 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002222/0.8288, allocations: 0.4948 MB / 1.116 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.8289, allocations: 27.7 kB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.8296, allocations: 321.3 kB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.8296, allocations: 11.98 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.8296, allocations: 4 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.8296, allocations: 7.953 kB / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.83, allocations: 297.7 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.83, allocations: 4 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.8303, allocations: 79.83 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.8304, allocations: 4 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.8304, allocations: 12 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8304, allocations: 11.61 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.8304, allocations: 4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.8329, allocations: 0.7863 MB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.8331, allocations: 148.5 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.8331, allocations: 7.984 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.8334, allocations: 27.97 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8336, allocations: 63.83 kB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.8336, allocations: 20 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001106/0.8337, allocations: 119.2 kB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8337, allocations: 0 / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007591/0.8345, allocations: 199.7 kB / 1.118 GB, free: 14.11 MB / 0.7292 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) * 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.003442/0.838, allocations: 2.283 MB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.8398, allocations: 2.974 MB / 1.123 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8398, allocations: 4 kB / 1.123 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.8401, allocations: 163.7 kB / 1.123 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.8403, allocations: 4.875 kB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.8415, allocations: 0.5311 MB / 1.124 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.8418, allocations: 0.7736 MB / 1.124 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000226/0.8421, allocations: 48.47 kB / 1.124 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.8423, allocations: 99.38 kB / 1.124 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.8423, allocations: 0 / 1.124 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5033/1.346, allocations: 6.741 MB / 1.131 GB, free: 324 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.346, allocations: 163.6 kB / 1.131 GB, free: 124 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/3.285, allocations: 3.781 kB / 1.131 GB, free: 124 kB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)