Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SunRiseSet,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004222/0.004222, allocations: 98.38 kB / 15.73 MB, free: 6.062 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.001248/0.001248, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 64.3 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.637, allocations: 151.7 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001885/0.6389, allocations: 0.892 MB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.6416, allocations: 2.481 MB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.6417, allocations: 4 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.6417, allocations: 11.81 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.6419, allocations: 43.56 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.6428, allocations: 0.4985 MB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.6431, allocations: 326.9 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.6432, allocations: 9.688 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.6433, allocations: 139.6 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.6436, allocations: 151.5 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.6436, allocations: 24 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.6442, allocations: 375.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.6443, allocations: 71.78 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.6444, allocations: 115.5 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.645, allocations: 0.5487 MB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6451, allocations: 4 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6451, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6451, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 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.001258/0.6463, allocations: 0.6713 MB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.6464, allocations: 8.922 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.6464, allocations: 50.67 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.6465, allocations: 24.8 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.6467, allocations: 192.8 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.6468, allocations: 135.3 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.6469, allocations: 20.31 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.6472, allocations: 239.7 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.6472, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.6472, allocations: 7.984 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6473, allocations: 8 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.6475, allocations: 111.7 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.6479, allocations: 403.2 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.6493, allocations: 495.3 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.6495, allocations: 154.2 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.6495, allocations: 19.88 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.65, allocations: 311.6 kB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.65, allocations: 0 / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.0007802/0.6508, allocations: 421.8 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.6509, allocations: 350.1 kB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.6511, allocations: 171.3 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.6511, allocations: 37.7 kB / 1.175 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.6512, allocations: 93.14 kB / 1.175 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6513, allocations: 127 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.6514, allocations: 94.3 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6516, allocations: 330.8 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.6518, allocations: 121 kB / 1.176 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.6521, allocations: 161 kB / 1.176 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.6527, allocations: 271.9 kB / 1.177 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6527, allocations: 4 kB / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007277/0.6534, allocations: 373.2 kB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6534, allocations: 11.98 kB / 1.177 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6534, allocations: 0 / 1.177 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6535, allocations: 4 kB / 1.177 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.6538, allocations: 76.83 kB / 1.177 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.6538, allocations: 7.984 kB / 1.177 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.6541, allocations: 55.72 kB / 1.177 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.6541, allocations: 19.98 kB / 1.177 GB, free: 8.086 MB / 0.9044 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.0001365/0.6543, allocations: 145.8 kB / 1.177 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.6544, allocations: 31.8 kB / 1.177 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/0.655, allocations: 358.4 kB / 1.178 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.655, allocations: 12 kB / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.655, allocations: 0 / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.655, allocations: 7.984 kB / 1.178 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.6554, allocations: 361.1 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6554, allocations: 0 / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.6557, allocations: 75.84 kB / 1.178 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6557, allocations: 4 kB / 1.178 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.6557, allocations: 19.98 kB / 1.178 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.6558, allocations: 7.938 kB / 1.178 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6558, allocations: 8 kB / 1.178 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.6565, allocations: 0.4942 MB / 1.179 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.6566, allocations: 152.7 kB / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.6567, allocations: 16.25 kB / 1.179 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.6569, allocations: 31.97 kB / 1.179 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.657, allocations: 59.81 kB / 1.179 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.657, allocations: 20 kB / 1.179 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001026/0.6572, allocations: 136.5 kB / 1.179 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6572, allocations: 0 / 1.179 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004674/0.6576, allocations: 219.2 kB / 1.179 GB, free: 5.816 MB / 0.9044 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.001334/0.659, allocations: 1.243 MB / 1.18 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.6596, allocations: 332.7 kB / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6596, allocations: 0 / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.6599, allocations: 191.7 kB / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6601, allocations: 35.92 kB / 1.181 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.6636, allocations: 2.769 MB / 1.184 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.664, allocations: 0.7688 MB / 1.184 GB, free: 248 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.6641, allocations: 63.17 kB / 1.184 GB, free: 184 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.6643, allocations: 95.39 kB / 1.184 GB, free: 88 kB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6643, allocations: 0 / 1.184 GB, free: 88 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.646/2.31, allocations: 7.851 MB / 1.192 GB, free: 8.344 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/15.86, allocations: 14.39 kB / 1.192 GB, free: 8.332 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)