Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SunRiseSet,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_9_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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6397, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002486/0.6422, allocations: 0.9391 MB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.6461, allocations: 2.541 MB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/0.6462, allocations: 5.312 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.6463, allocations: 7.922 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.6466, allocations: 45.69 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.6479, allocations: 413.7 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.6483, allocations: 309.5 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.6484, allocations: 15.05 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.6486, allocations: 132.8 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.6488, allocations: 143.8 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.6489, allocations: 12.81 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.6496, allocations: 303.6 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.6497, allocations: 56.17 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.6499, allocations: 108.5 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.6508, allocations: 0.5369 MB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6508, allocations: 3.984 kB / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6508, allocations: 0 / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.6509, allocations: 5.312 kB / 0.9545 GB, free: 5.109 MB / 0.7169 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.001823/0.6527, allocations: 0.6631 MB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6527, allocations: 9.938 kB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.6528, allocations: 47.05 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.6529, allocations: 20.75 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.653, allocations: 189 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.6531, allocations: 129.3 kB / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.6532, allocations: 20.91 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.6535, allocations: 243.1 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6535, allocations: 1.219 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.6536, allocations: 10.25 kB / 0.9558 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.6536, allocations: 3.719 kB / 0.9558 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.6538, allocations: 120.3 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.6541, allocations: 395.6 kB / 0.9563 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.6555, allocations: 500 kB / 0.9567 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.6557, allocations: 167 kB / 0.9569 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.6557, allocations: 12.89 kB / 0.9569 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.6562, allocations: 314.2 kB / 0.9572 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.6562, allocations: 0 / 0.9572 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0008129/0.657, allocations: 421.3 kB / 0.9576 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.6571, allocations: 350.8 kB / 0.9579 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6572, allocations: 174.4 kB / 0.9581 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.6572, allocations: 43.27 kB / 0.9581 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.6573, allocations: 96.44 kB / 0.9582 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.6574, allocations: 109.4 kB / 0.9583 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.6575, allocations: 95.28 kB / 0.9584 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.6576, allocations: 336.2 kB / 0.9588 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.6578, allocations: 110.6 kB / 0.9589 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.6581, allocations: 172.2 kB / 0.959 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.6587, allocations: 267.5 kB / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6587, allocations: 0 / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007638/0.6595, allocations: 378.8 kB / 0.9596 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6595, allocations: 7.312 kB / 0.9596 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6595, allocations: 5.125 kB / 0.9597 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6595, allocations: 1.938 kB / 0.9597 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.6599, allocations: 81.72 kB / 0.9597 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.66, allocations: 7.016 kB / 0.9597 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.6602, allocations: 50.34 kB / 0.9598 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.6603, allocations: 16.39 kB / 0.9598 GB, free: 0.582 MB / 0.7169 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.0001167/0.6604, allocations: 149 kB / 0.9599 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.6605, allocations: 35.98 kB / 0.96 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005984/0.6611, allocations: 362.7 kB / 0.9603 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6611, allocations: 13.22 kB / 0.9603 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6611, allocations: 3.969 kB / 0.9603 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6611, allocations: 6.547 kB / 0.9603 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.6614, allocations: 350.1 kB / 0.9607 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6615, allocations: 3.5 kB / 0.9607 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.6618, allocations: 78.77 kB / 0.9608 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6618, allocations: 5.188 kB / 0.9608 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.6618, allocations: 15.81 kB / 0.9608 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6618, allocations: 4.562 kB / 0.9608 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.6618, allocations: 7.984 kB / 0.9608 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.6626, allocations: 0.4927 MB / 0.9613 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.6627, allocations: 145.5 kB / 0.9614 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.6628, allocations: 23.42 kB / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.6631, allocations: 30.28 kB / 0.9615 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6632, allocations: 57.5 kB / 0.9615 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.6632, allocations: 20.47 kB / 0.9615 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.174e-05/0.6633, allocations: 129.3 kB / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6633, allocations: 0 / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000619/0.664, allocations: 219.2 kB / 0.9619 GB, free: 15.11 MB / 0.7325 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.00141/0.6654, allocations: 1.242 MB / 0.9631 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006601/0.6661, allocations: 330.6 kB / 0.9634 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6661, allocations: 0.8125 kB / 0.9634 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.6664, allocations: 186.8 kB / 0.9636 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6667, allocations: 31.66 kB / 0.9636 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.6706, allocations: 2.851 MB / 0.9664 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.6709, allocations: 0.7611 MB / 0.9671 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.6711, allocations: 54.19 kB / 0.9672 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.6713, allocations: 96.67 kB / 0.9673 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6713, allocations: 0 / 0.9673 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.6893, allocations: 7.375 MB / 0.9745 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.6896, allocations: 214.3 kB / 0.9747 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.696, allocations: 1.5 kB / 0.9747 GB, free: 6.934 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)