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.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 189.1 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 91.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003995, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2403, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.4101, allocations: 132.7 MB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4103, allocations: 79.94 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03431/0.4446, allocations: 10.41 MB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4447, allocations: 0 / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.4447, allocations: 4 kB / 1.04 GB, free: 420 kB / 0.6823 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.001741/0.4465, allocations: 0.6422 MB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4465, allocations: 8.031 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.681e-05/0.4466, allocations: 46.55 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.4467, allocations: 23.72 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.4469, allocations: 191.4 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4471, allocations: 130.8 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.4471, allocations: 16 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.4475, allocations: 235.8 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4475, allocations: 3.938 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4476, allocations: 8 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4476, allocations: 4 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.4478, allocations: 111.8 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.4484, allocations: 403.1 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.4498, allocations: 499.6 kB / 1.042 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.4498, allocations: 4 kB / 1.042 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.4503, allocations: 308.2 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.827e-06/0.4503, allocations: 4 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008094/0.4511, allocations: 414.3 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.4513, allocations: 350.1 kB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4514, allocations: 157.1 kB / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.4515, allocations: 46.2 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.4516, allocations: 113 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.4517, allocations: 98.61 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.4517, allocations: 12 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4519, allocations: 334.8 kB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.4521, allocations: 113.1 kB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.4524, allocations: 165 kB / 1.044 GB, free: 11.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.4527, allocations: 123.2 kB / 1.044 GB, free: 11.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4527, allocations: 0 / 1.044 GB, free: 11.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007064/0.4534, allocations: 374.9 kB / 1.045 GB, free: 11.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4535, allocations: 6.969 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4535, allocations: 0 / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4535, allocations: 4 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.4539, allocations: 79.88 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.454, allocations: 4 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.4543, allocations: 59.66 kB / 1.045 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4543, allocations: 19.98 kB / 1.045 GB, free: 10.86 MB / 0.698 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.000161/0.4545, allocations: 157.7 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.4546, allocations: 27.72 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/0.4552, allocations: 358.2 kB / 1.045 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4552, allocations: 8 kB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4552, allocations: 4 kB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4553, allocations: 7.984 kB / 1.045 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.4556, allocations: 349.1 kB / 1.046 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4557, allocations: 4.5 kB / 1.046 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.456, allocations: 79.83 kB / 1.046 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.456, allocations: 8 kB / 1.046 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.456, allocations: 20 kB / 1.046 GB, free: 9.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.456, allocations: 7.984 kB / 1.046 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.456, allocations: 7.938 kB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.4568, allocations: 0.606 MB / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.457, allocations: 156.5 kB / 1.047 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.457, allocations: 20 kB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4573, allocations: 39.91 kB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4574, allocations: 47.94 kB / 1.047 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.4575, allocations: 23.98 kB / 1.047 GB, free: 8.746 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001478/0.4576, allocations: 127.8 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4576, allocations: 0 / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009086/0.4585, allocations: 227.6 kB / 1.047 GB, free: 8.398 MB / 0.698 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.002118/0.4607, allocations: 2.128 MB / 1.049 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.4613, allocations: 329.5 kB / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4613, allocations: 3.938 kB / 1.05 GB, free: 5.844 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.4616, allocations: 188.1 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4619, allocations: 28.95 kB / 1.05 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.4635, allocations: 1.442 MB / 1.051 GB, free: 4.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4639, allocations: 0.7691 MB / 1.052 GB, free: 3.305 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.4641, allocations: 54.94 kB / 1.052 GB, free: 3.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4643, allocations: 99.38 kB / 1.052 GB, free: 3.152 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.4643, allocations: 0 / 1.052 GB, free: 3.152 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/0.8683, allocations: 6.946 MB / 1.059 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.8685, allocations: 220 kB / 1.059 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.844, allocations: 0.7812 kB / 1.059 GB, free: 148 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)