Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009672/0.009672, allocations: 102.6 kB / 15.73 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 190.2 kB / 16.67 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.346/2.346, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.461/3.461, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002304, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493/1.496, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.004136/1.5, allocations: 0.9036 MB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007276/1.507, allocations: 2.469 MB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/1.508, allocations: 0.9688 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/1.508, allocations: 13.12 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/1.508, allocations: 50.56 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/1.511, allocations: 0.4905 MB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009189/1.512, allocations: 321 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/1.512, allocations: 15.84 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/1.513, allocations: 138.2 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/1.513, allocations: 151.1 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/1.514, allocations: 23.62 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/1.516, allocations: 379.3 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/1.516, allocations: 70.66 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/1.517, allocations: 114.6 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/1.519, allocations: 0.5471 MB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.519, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.14e-06/1.519, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.348e-05/1.519, allocations: 8.656 kB / 1.093 GB, free: 1.992 MB / 0.8575 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.002788/1.522, allocations: 0.6518 MB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001138/1.522, allocations: 10.12 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/1.522, allocations: 47.78 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/1.522, allocations: 24.25 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.522, allocations: 195.8 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/1.523, allocations: 133.4 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/1.523, allocations: 18.38 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/1.523, allocations: 255.8 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.523, allocations: 0.9688 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/1.523, allocations: 8.156 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/1.524, allocations: 4.312 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/1.524, allocations: 116.8 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/1.525, allocations: 399 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/1.528, allocations: 494.9 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/1.528, allocations: 161 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/1.529, allocations: 14.17 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/1.53, allocations: 322.8 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=40): time 5.36e-06/1.53, allocations: 0 / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.002052/1.532, allocations: 405 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000299/1.532, allocations: 353.4 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/1.533, allocations: 165.5 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.634e-05/1.533, allocations: 43.06 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.533, allocations: 94.73 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/1.533, allocations: 119 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.533, allocations: 94.53 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002848/1.534, allocations: 330.9 kB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/1.534, allocations: 120.4 kB / 1.097 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/1.535, allocations: 175.1 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.537, allocations: 259.9 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.537, allocations: 1.781 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001851/1.539, allocations: 386.1 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/1.539, allocations: 10.12 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.539, allocations: 5.438 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.935e-05/1.539, allocations: 2.844 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/1.54, allocations: 85.98 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/1.54, allocations: 2.094 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/1.54, allocations: 50.28 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/1.54, allocations: 24.11 kB / 1.098 GB, free: 14.01 MB / 0.8731 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000439/1.541, allocations: 149.8 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/1.541, allocations: 37.53 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.542, allocations: 349.6 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/1.543, allocations: 9.547 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/1.543, allocations: 4.094 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.543, allocations: 5.609 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/1.544, allocations: 356.4 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.544, allocations: 3.188 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/1.544, allocations: 72.2 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/1.544, allocations: 9.094 kB / 1.099 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/1.544, allocations: 18.23 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/1.544, allocations: 5.641 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.544, allocations: 3.562 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/1.546, allocations: 0.4918 MB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/1.547, allocations: 150.8 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.547, allocations: 20.38 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/1.547, allocations: 26.86 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.547, allocations: 56.31 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/1.548, allocations: 22.52 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002388/1.548, allocations: 122.6 kB / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/1.548, allocations: 0 / 1.1 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001694/1.55, allocations: 216.2 kB / 1.1 GB, free: 12.78 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003249/1.553, allocations: 1.257 MB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001791/1.555, allocations: 330 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.555, allocations: 0.5625 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.555, allocations: 195.3 kB / 1.102 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/1.556, allocations: 37.75 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/1.564, allocations: 2.757 MB / 1.105 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/1.565, allocations: 0.756 MB / 1.106 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004626/1.565, allocations: 58.52 kB / 1.106 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.566, allocations: 94.47 kB / 1.106 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of SimCode: time 6.171e-06/1.566, allocations: 0 / 1.106 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/1.62, allocations: 7.889 MB / 1.113 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/14.11, allocations: 10.81 kB / 1.113 GB, free: 8.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)