Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001051/0.001051, allocations: 180.1 kB / 371.6 MB, free: 3.359 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.893/1.893, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001058/0.001059, allocations: 89.55 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8462/1.144, allocations: 139.7 MB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/1.144, allocations: 70.73 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03018/1.175, allocations: 10.36 MB / 1.127 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/1.175, allocations: 0.5625 kB / 1.127 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.747e-06/1.175, allocations: 8 kB / 1.127 GB, free: 38.29 MB / 0.7448 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.001082/1.176, allocations: 0.6166 MB / 1.127 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.176, allocations: 8.031 kB / 1.127 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/1.176, allocations: 50.25 kB / 1.127 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/1.176, allocations: 25.53 kB / 1.127 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/1.176, allocations: 185.7 kB / 1.127 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.176, allocations: 135.7 kB / 1.128 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/1.176, allocations: 21.67 kB / 1.128 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/1.177, allocations: 233.6 kB / 1.128 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.177, allocations: 3.938 kB / 1.128 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.177, allocations: 7.375 kB / 1.128 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.177, allocations: 4.562 kB / 1.128 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/1.177, allocations: 108.3 kB / 1.128 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/1.177, allocations: 395.7 kB / 1.128 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.179, allocations: 496.3 kB / 1.129 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/1.179, allocations: 154.8 kB / 1.129 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/1.179, allocations: 11.44 kB / 1.129 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/1.179, allocations: 310.6 kB / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/1.179, allocations: 0 / 1.129 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0005827/1.18, allocations: 324.5 kB / 1.13 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.18, allocations: 353.8 kB / 1.13 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.18, allocations: 162.8 kB / 1.13 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.18, allocations: 36.52 kB / 1.13 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/1.18, allocations: 96.06 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/1.18, allocations: 106.7 kB / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/1.18, allocations: 7.188 kB / 1.13 GB, free: 34.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/1.18, allocations: 336.3 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/1.181, allocations: 103.2 kB / 1.131 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/1.181, allocations: 158.3 kB / 1.131 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/1.181, allocations: 115.5 kB / 1.131 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.181, allocations: 0 / 1.131 GB, free: 34.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005555/1.182, allocations: 356.4 kB / 1.131 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.182, allocations: 4 kB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.182, allocations: 0 / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.182, allocations: 4 kB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.182, allocations: 75.16 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.182, allocations: 4 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/1.182, allocations: 64.52 kB / 1.131 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/1.182, allocations: 22.52 kB / 1.131 GB, free: 33.8 MB / 0.7448 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 () * 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 9.445e-05/1.182, allocations: 134.4 kB / 1.132 GB, free: 33.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/1.182, allocations: 27.16 kB / 1.132 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/1.183, allocations: 363.8 kB / 1.132 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.183, allocations: 8 kB / 1.132 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.183, allocations: 5 kB / 1.132 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.183, allocations: 7.375 kB / 1.132 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/1.183, allocations: 354.3 kB / 1.132 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.183, allocations: 4 kB / 1.132 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/1.184, allocations: 77.94 kB / 1.132 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.184, allocations: 4 kB / 1.132 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.184, allocations: 16.72 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.184, allocations: 13.02 kB / 1.132 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.184, allocations: 4 kB / 1.132 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/1.184, allocations: 0.5995 MB / 1.133 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/1.185, allocations: 152.7 kB / 1.133 GB, free: 32.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/1.185, allocations: 15.25 kB / 1.133 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.185, allocations: 42.02 kB / 1.133 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/1.185, allocations: 52.09 kB / 1.133 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.185, allocations: 23.12 kB / 1.133 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.534e-05/1.185, allocations: 131 kB / 1.133 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.185, allocations: 0 / 1.133 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006401/1.186, allocations: 232 kB / 1.134 GB, free: 31.92 MB / 0.7448 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) * 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.001545/1.187, allocations: 2.123 MB / 1.136 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005628/1.188, allocations: 312.5 kB / 1.136 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.188, allocations: 4 kB / 1.136 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/1.188, allocations: 184.4 kB / 1.136 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/1.188, allocations: 23.39 kB / 1.136 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/1.189, allocations: 0.5778 MB / 1.137 GB, free: 29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/1.19, allocations: 0.7756 MB / 1.137 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002171/1.19, allocations: 56.52 kB / 1.138 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.19, allocations: 91.55 kB / 1.138 GB, free: 28.15 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.19, allocations: 4.656 kB / 1.138 GB, free: 28.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/1.208, allocations: 7.115 MB / 1.145 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/1.208, allocations: 163.3 kB / 1.145 GB, free: 23.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.257, allocations: 0 / 1.145 GB, free: 23.87 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)