Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 70.55 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002583/0.3514, allocations: 0.8376 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.3551, allocations: 2.42 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3553, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.3553, allocations: 15.81 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.3556, allocations: 51.55 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.3569, allocations: 0.4914 MB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.3574, allocations: 315.1 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.3574, allocations: 17.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.3578, allocations: 147.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.3581, allocations: 147.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.3582, allocations: 27.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.359, allocations: 387.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.3591, allocations: 75.78 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3592, allocations: 99.61 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.3602, allocations: 0.5762 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3602, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3602, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3602, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 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.001543/0.3617, allocations: 0.6037 MB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3618, allocations: 12.03 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.344e-05/0.3618, allocations: 4.188 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.254e-05/0.3619, allocations: 46.73 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.363, allocations: 92.72 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3632, allocations: 139.6 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.3635, allocations: 234.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.3636, allocations: 24.11 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.364, allocations: 236.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.364, allocations: 11.94 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3641, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3641, allocations: 7.984 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.3644, allocations: 111.8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.365, allocations: 330.3 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.3667, allocations: 479.3 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.367, allocations: 154.2 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.367, allocations: 8 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006627/0.3677, allocations: 323.5 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 3.046e-06/0.3677, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.001025/0.3687, allocations: 414.1 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/0.3689, allocations: 362.2 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3691, allocations: 167.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.3692, allocations: 41.7 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.3693, allocations: 97.12 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3694, allocations: 115 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3696, allocations: 98.16 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3698, allocations: 334.8 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.3701, allocations: 116.9 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.3704, allocations: 160.4 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.371, allocations: 276.2 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.371, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008473/0.3719, allocations: 385.2 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3719, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3719, allocations: 0 / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3719, allocations: 4 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.3723, allocations: 75.88 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3724, allocations: 4 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3726, allocations: 56.75 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3727, allocations: 15.98 kB / 1.337 GB, free: 5.891 MB / 1.029 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.0002066/0.3729, allocations: 165.5 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.373, allocations: 23.86 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.3737, allocations: 362.3 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3737, allocations: 11.94 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3737, allocations: 4 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.3737, allocations: 7.984 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.3742, allocations: 292.3 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3742, allocations: 4 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3745, allocations: 75.84 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3745, allocations: 4 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.3745, allocations: 19.98 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.3745, allocations: 4 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3745, allocations: 7.938 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.3753, allocations: 0.4964 MB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.3755, allocations: 67.69 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.3755, allocations: 15.94 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3758, allocations: 35.91 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3759, allocations: 56.11 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.3759, allocations: 23.98 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000117/0.3761, allocations: 123.2 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3761, allocations: 0 / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006982/0.3768, allocations: 231.2 kB / 1.339 GB, free: 3.785 MB / 1.029 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.001703/0.3785, allocations: 1.273 MB / 1.341 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.3792, allocations: 319.1 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3792, allocations: 0 / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.3795, allocations: 171.7 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3798, allocations: 31.92 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.3839, allocations: 2.768 MB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.384, allocations: 155.6 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.3842, allocations: 59.25 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.3844, allocations: 91.39 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.3844, allocations: 0 / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4166, allocations: 8.51 MB / 1.352 GB, free: 6.359 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.58, allocations: 2.734 kB / 1.352 GB, free: 6.359 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3353.11 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.52234061306808] Failed to read output from testmodel.py, exit status != 0: 12.756123495986685 12.783091753 12.417749141 Calling exit ...