Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.66/1.66, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001694/0.001694, allocations: 177.1 kB / 377.1 MB, free: 1.516 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.673/1.673, allocations: 205.4 MB / 0.6366 GB, free: 9.48 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.0008451/0.0008453, allocations: 96.11 kB / 0.7509 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005034, allocations: 12 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3632, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8894/1.253, allocations: 139.8 MB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/1.253, allocations: 70.36 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03185/1.285, allocations: 10.4 MB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.675e-06/1.285, allocations: 0 / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.285, allocations: 4 kB / 1.135 GB, free: 27.55 MB / 0.7292 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.001315/1.286, allocations: 0.6509 MB / 1.136 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.286, allocations: 8.031 kB / 1.136 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/1.286, allocations: 46.59 kB / 1.136 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/1.286, allocations: 22.77 kB / 1.136 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/1.286, allocations: 184.8 kB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.287, allocations: 131.1 kB / 1.136 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/1.287, allocations: 22 kB / 1.136 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/1.287, allocations: 230.6 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.287, allocations: 4.812 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/1.287, allocations: 14.64 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.287, allocations: 4 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/1.287, allocations: 113.5 kB / 1.137 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/1.288, allocations: 395 kB / 1.137 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.289, allocations: 498.9 kB / 1.137 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/1.289, allocations: 13.16 kB / 1.137 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/1.29, allocations: 313.4 kB / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/1.29, allocations: 0 / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0007752/1.29, allocations: 406.4 kB / 1.138 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/1.291, allocations: 357.2 kB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/1.291, allocations: 160.8 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/1.291, allocations: 38.73 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/1.291, allocations: 99 kB / 1.139 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-05/1.291, allocations: 100.2 kB / 1.139 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/1.291, allocations: 12 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/1.291, allocations: 330.5 kB / 1.139 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/1.291, allocations: 113.9 kB / 1.139 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/1.292, allocations: 172.8 kB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/1.292, allocations: 122.7 kB / 1.14 GB, free: 22.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.292, allocations: 0 / 1.14 GB, free: 22.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006848/1.293, allocations: 371.5 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.293, allocations: 4.938 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.293, allocations: 4.844 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.293, allocations: 4 kB / 1.14 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/1.293, allocations: 83.77 kB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.293, allocations: 0.6562 kB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/1.293, allocations: 58.67 kB / 1.14 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/1.293, allocations: 20.12 kB / 1.14 GB, free: 22.52 MB / 0.7292 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.0001378/1.294, allocations: 159.9 kB / 1.14 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/1.294, allocations: 28.7 kB / 1.14 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/1.294, allocations: 355.8 kB / 1.141 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.294, allocations: 10.06 kB / 1.141 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.294, allocations: 8 kB / 1.141 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.294, allocations: 10.84 kB / 1.141 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/1.295, allocations: 351.5 kB / 1.141 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.295, allocations: 9.891 kB / 1.141 GB, free: 21.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/1.295, allocations: 73.06 kB / 1.141 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.295, allocations: 4 kB / 1.141 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.295, allocations: 18.86 kB / 1.141 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.295, allocations: 8.734 kB / 1.141 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.295, allocations: 4 kB / 1.141 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/1.296, allocations: 0.6098 MB / 1.142 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.296, allocations: 154.3 kB / 1.142 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/1.296, allocations: 18.11 kB / 1.142 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/1.296, allocations: 39.22 kB / 1.142 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.296, allocations: 52.02 kB / 1.142 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.296, allocations: 23.09 kB / 1.142 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.621e-05/1.296, allocations: 132.4 kB / 1.142 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.296, allocations: 0 / 1.142 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007185/1.297, allocations: 222.7 kB / 1.142 GB, free: 20.29 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,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.001375/1.299, allocations: 2.134 MB / 1.144 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000623/1.299, allocations: 317.3 kB / 1.145 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.299, allocations: 11.94 kB / 1.145 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/1.299, allocations: 182.2 kB / 1.145 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/1.3, allocations: 28.17 kB / 1.145 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.301, allocations: 1.448 MB / 1.146 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/1.301, allocations: 0.7696 MB / 1.147 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002278/1.301, allocations: 55.06 kB / 1.147 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.302, allocations: 102.3 kB / 1.147 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.302, allocations: 0 / 1.147 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/1.324, allocations: 6.935 MB / 1.154 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/1.324, allocations: 205.2 kB / 1.154 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/3.391, allocations: 4 kB / 1.154 GB, free: 11.1 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)