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.793/1.793, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001389/0.001389, allocations: 164.9 kB / 366.7 MB, free: 1.695 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.92/1.92, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008359/0.0008361, allocations: 87.31 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.679e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7233, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.9341, allocations: 139.1 MB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.9344, allocations: 71.95 kB / 1.109 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03511/0.9696, allocations: 10.32 MB / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9696, allocations: 0 / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.9696, allocations: 4 kB / 1.119 GB, free: 0.7734 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001661/0.9713, allocations: 0.621 MB / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.9714, allocations: 8.031 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.9716, allocations: 23.81 kB / 1.12 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.9719, allocations: 193.1 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.972, allocations: 4 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9721, allocations: 16 kB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00031/0.9724, allocations: 83.95 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.9728, allocations: 220.6 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.9728, allocations: 4 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.9728, allocations: 0 / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.9729, allocations: 9.438 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.9734, allocations: 360.1 kB / 1.121 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.9749, allocations: 479.6 kB / 1.121 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.9751, allocations: 146.4 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.9752, allocations: 11.94 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.9757, allocations: 291.2 kB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/0.9757, allocations: 0 / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.002674/0.9784, allocations: 0.5266 MB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.9786, allocations: 362.2 kB / 1.123 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.9788, allocations: 146.4 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.9788, allocations: 33.7 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.9789, allocations: 93.45 kB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.979, allocations: 110.5 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.9791, allocations: 0 / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9792, allocations: 326.8 kB / 1.123 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.9794, allocations: 97.11 kB / 1.123 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.9797, allocations: 151.9 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.9829, allocations: 0.5032 MB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9829, allocations: 0 / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003555/0.9865, allocations: 0.7175 MB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9866, allocations: 6.062 kB / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9866, allocations: 0 / 1.125 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9866, allocations: 4 kB / 1.125 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.987, allocations: 67.89 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.987, allocations: 4 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.9874, allocations: 47.66 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.9874, allocations: 23.98 kB / 1.125 GB, free: 10.63 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 () * 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.0001787/0.9876, allocations: 128.2 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002436/0.9901, allocations: 0.5389 MB / 1.125 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.9901, allocations: 27.72 kB / 1.125 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.9908, allocations: 319 kB / 1.126 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.9908, allocations: 8 kB / 1.126 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.9908, allocations: 4 kB / 1.126 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.9909, allocations: 11.98 kB / 1.126 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.9913, allocations: 305.2 kB / 1.126 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.9913, allocations: 4 kB / 1.126 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.9916, allocations: 83.73 kB / 1.126 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.9916, allocations: 4 kB / 1.126 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.9917, allocations: 11.98 kB / 1.126 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.9917, allocations: 4 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9917, allocations: 4 kB / 1.126 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.9943, allocations: 0.8167 MB / 1.127 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.9945, allocations: 156.1 kB / 1.127 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.9945, allocations: 11.95 kB / 1.127 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.9948, allocations: 27.97 kB / 1.127 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.9949, allocations: 51.88 kB / 1.127 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.995, allocations: 23.98 kB / 1.127 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.616e-05/0.9951, allocations: 127.8 kB / 1.127 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9951, allocations: 0 / 1.127 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007669/0.9959, allocations: 211.7 kB / 1.128 GB, free: 7.598 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) * 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.003625/0.9995, allocations: 2.325 MB / 1.13 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.001, allocations: 2.995 MB / 1.133 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.001, allocations: 0 / 1.133 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/1.002, allocations: 160.2 kB / 1.133 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/1.002, allocations: 13.42 kB / 1.133 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/1.003, allocations: 0.5366 MB / 1.133 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.004, allocations: 0.7652 MB / 1.134 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002307/1.004, allocations: 51.23 kB / 1.134 GB, free: 464 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.004, allocations: 95.39 kB / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.004, allocations: 0 / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/1.032, allocations: 6.842 MB / 1.141 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.032, allocations: 170.4 kB / 1.141 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.039, allocations: 0 / 1.141 GB, free: 9.426 MB / 0.7448 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)