Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001817/0.001817, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002236/0.002236, allocations: 220 kB / 23.03 MB, free: 4.922 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.245/3.245, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_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.001962/0.001962, allocations: 70.73 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002087/0.3393, allocations: 0.84 MB / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.3425, allocations: 2.413 MB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.3426, allocations: 3.938 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.3426, allocations: 11.81 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3428, allocations: 55.56 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3439, allocations: 0.4905 MB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.3443, allocations: 315.1 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3443, allocations: 9.812 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3446, allocations: 155.6 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3448, allocations: 151.5 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.3449, allocations: 20 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.3455, allocations: 391.7 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.3456, allocations: 75.77 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3457, allocations: 99.61 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.3465, allocations: 0.5762 MB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3465, allocations: 4 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3465, allocations: 0 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3465, allocations: 4 kB / 1.351 GB, free: 10.38 MB / 1.045 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.001427/0.348, allocations: 0.5999 MB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.348, allocations: 8.031 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.348, allocations: 8.172 kB / 1.351 GB, free: 9.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.3481, allocations: 46.73 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3492, allocations: 92.72 kB / 1.351 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3493, allocations: 140.1 kB / 1.352 GB, free: 9.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.3496, allocations: 234.2 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.3496, allocations: 24.12 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.35, allocations: 243.7 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.35, allocations: 7.922 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3501, allocations: 8 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.3501, allocations: 8 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.3503, allocations: 111.8 kB / 1.352 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3508, allocations: 322.4 kB / 1.353 GB, free: 8.309 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.3524, allocations: 479.3 kB / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.3526, allocations: 154.3 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.3527, allocations: 11.92 kB / 1.353 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.3532, allocations: 315.5 kB / 1.353 GB, free: 7.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.3532, allocations: 0 / 1.353 GB, free: 7.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.0008773/0.3541, allocations: 413.7 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/0.3543, allocations: 354.6 kB / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3545, allocations: 171.2 kB / 1.354 GB, free: 6.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.3545, allocations: 41.7 kB / 1.354 GB, free: 6.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3546, allocations: 97.12 kB / 1.354 GB, free: 6.008 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.3548, allocations: 115.1 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3549, allocations: 98.16 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3551, allocations: 330.8 kB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3554, allocations: 116.9 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.3557, allocations: 168.3 kB / 1.355 GB, free: 5.168 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.3563, allocations: 268.5 kB / 1.355 GB, free: 4.898 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3563, allocations: 0 / 1.355 GB, free: 4.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008342/0.3572, allocations: 382.9 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3572, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3572, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3572, allocations: 8.984 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.3576, allocations: 79.88 kB / 1.356 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3576, allocations: 0 / 1.356 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.3579, allocations: 59.7 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.358, allocations: 19.98 kB / 1.356 GB, free: 4.352 MB / 1.045 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.0001791/0.3582, allocations: 161.5 kB / 1.356 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.3582, allocations: 31.84 kB / 1.356 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.359, allocations: 354.3 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.359, allocations: 8 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.359, allocations: 4 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.359, allocations: 11.92 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.3594, allocations: 292.3 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3594, allocations: 4 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.3597, allocations: 75.89 kB / 1.357 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3597, allocations: 4 kB / 1.357 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.3598, allocations: 20 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.3598, allocations: 7.984 kB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3598, allocations: 7.938 kB / 1.357 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.3606, allocations: 0.4886 MB / 1.357 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.3607, allocations: 67.94 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.3608, allocations: 23.92 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.3611, allocations: 31.92 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3612, allocations: 55.84 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3612, allocations: 20 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3614, allocations: 147.7 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3614, allocations: 3.938 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006965/0.362, allocations: 227.2 kB / 1.358 GB, free: 2.227 MB / 1.045 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.001764/0.3638, allocations: 1.258 MB / 1.359 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007488/0.3646, allocations: 317.9 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3646, allocations: 0 / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3649, allocations: 168 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.3652, allocations: 42.42 kB / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.3695, allocations: 2.772 MB / 1.362 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.3696, allocations: 163.5 kB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.3698, allocations: 50.78 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.37, allocations: 99.38 kB / 1.363 GB, free: 13.14 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.37, allocations: 0 / 1.363 GB, free: 13.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.4025, allocations: 8.507 MB / 1.371 GB, free: 4.805 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.58, allocations: 4 kB / 1.371 GB, free: 4.801 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3353.11 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.47684365499299] Failed to read output from testmodel.py, exit status != 0: 12.753099232097156 12.782233163 12.430401987 Calling exit ...