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.00138/0.00138, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001461/0.001461, allocations: 212 kB / 20.13 MB, free: 2.949 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.957/2.957, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002023/0.002023, allocations: 71.89 kB / 1.15 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 176.1 MB / 1.321 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00218/1.066, allocations: 0.9131 MB / 1.322 GB, free: 6.828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003414/1.07, allocations: 2.577 MB / 1.325 GB, free: 4.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.926e-05/1.07, allocations: 7.938 kB / 1.325 GB, free: 4.754 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/1.07, allocations: 15.8 kB / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/1.07, allocations: 46.41 kB / 1.325 GB, free: 4.699 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/1.071, allocations: 0.4921 MB / 1.325 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/1.072, allocations: 317.2 kB / 1.326 GB, free: 4.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/1.072, allocations: 7.562 kB / 1.326 GB, free: 4.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/1.072, allocations: 156 kB / 1.326 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/1.072, allocations: 150.5 kB / 1.326 GB, free: 3.996 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/1.072, allocations: 27.56 kB / 1.326 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/1.073, allocations: 395.8 kB / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/1.073, allocations: 68.62 kB / 1.326 GB, free: 3.766 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/1.073, allocations: 113.8 kB / 1.327 GB, free: 3.688 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/1.074, allocations: 0.5769 MB / 1.327 GB, free: 3.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/1.074, allocations: 4.984 kB / 1.327 GB, free: 3.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.785e-06/1.074, allocations: 0 / 1.327 GB, free: 3.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.074, allocations: 0 / 1.327 GB, free: 3.32 MB / 1.014 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.001542/1.076, allocations: 0.6768 MB / 1.328 GB, free: 2.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.076, allocations: 14.48 kB / 1.328 GB, free: 2.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.313e-05/1.076, allocations: 7.312 kB / 1.328 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/1.076, allocations: 47.39 kB / 1.328 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.077, allocations: 87.44 kB / 1.328 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/1.077, allocations: 190.8 kB / 1.328 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/1.078, allocations: 133 kB / 1.328 GB, free: 2.285 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/1.078, allocations: 25.03 kB / 1.328 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/1.078, allocations: 238.7 kB / 1.329 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.078, allocations: 0 / 1.329 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/1.078, allocations: 6.5 kB / 1.329 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.078, allocations: 5.344 kB / 1.329 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/1.078, allocations: 118.4 kB / 1.329 GB, free: 1.988 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/1.079, allocations: 396.8 kB / 1.329 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.081, allocations: 486 kB / 1.329 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/1.081, allocations: 154.2 kB / 1.33 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/1.081, allocations: 17.83 kB / 1.33 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/1.082, allocations: 316.2 kB / 1.33 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/1.082, allocations: 1.281 kB / 1.33 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001022/1.083, allocations: 413.1 kB / 1.33 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/1.083, allocations: 350.4 kB / 1.331 GB, free: 92 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/1.083, allocations: 171.4 kB / 1.331 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/1.083, allocations: 43.42 kB / 1.331 GB, free: 15.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/1.083, allocations: 99.89 kB / 1.331 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.083, allocations: 122.2 kB / 1.331 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.083, allocations: 95.28 kB / 1.331 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.084, allocations: 332.1 kB / 1.332 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/1.084, allocations: 115.9 kB / 1.332 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/1.084, allocations: 175.1 kB / 1.332 GB, free: 15.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/1.085, allocations: 262.1 kB / 1.332 GB, free: 15.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.085, allocations: 1.375 kB / 1.332 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008317/1.086, allocations: 379 kB / 1.332 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.086, allocations: 5.5 kB / 1.332 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.086, allocations: 4 kB / 1.332 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.086, allocations: 3.969 kB / 1.332 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/1.086, allocations: 76.84 kB / 1.332 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.086, allocations: 6.844 kB / 1.333 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/1.086, allocations: 55.3 kB / 1.333 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/1.086, allocations: 20.23 kB / 1.333 GB, free: 14.75 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.0001921/1.087, allocations: 148.6 kB / 1.333 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/1.087, allocations: 31.39 kB / 1.333 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/1.087, allocations: 358.7 kB / 1.333 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.087, allocations: 9.75 kB / 1.333 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.087, allocations: 7.625 kB / 1.333 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.087, allocations: 3.469 kB / 1.333 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/1.088, allocations: 354 kB / 1.333 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.088, allocations: 2.875 kB / 1.333 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/1.088, allocations: 70 kB / 1.334 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.088, allocations: 6.656 kB / 1.334 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/1.088, allocations: 18.48 kB / 1.334 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/1.088, allocations: 17.84 kB / 1.334 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.088, allocations: 3.156 kB / 1.334 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/1.089, allocations: 0.5016 MB / 1.334 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/1.09, allocations: 144.8 kB / 1.334 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/1.09, allocations: 23.22 kB / 1.334 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/1.09, allocations: 22.77 kB / 1.334 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.09, allocations: 62.06 kB / 1.334 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/1.09, allocations: 23.36 kB / 1.334 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001532/1.09, allocations: 129.8 kB / 1.334 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.09, allocations: 0 / 1.334 GB, free: 13.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001003/1.091, allocations: 228.5 kB / 1.335 GB, free: 13.26 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.001949/1.093, allocations: 1.261 MB / 1.336 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007916/1.094, allocations: 322.1 kB / 1.336 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.094, allocations: 0.8125 kB / 1.336 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/1.094, allocations: 175.4 kB / 1.336 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.095, allocations: 40.45 kB / 1.336 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/1.099, allocations: 2.773 MB / 1.339 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/1.1, allocations: 0.7569 MB / 1.34 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002111/1.1, allocations: 58.61 kB / 1.34 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.1, allocations: 97.08 kB / 1.34 GB, free: 9.066 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/1.1, allocations: 0 / 1.34 GB, free: 9.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/1.13, allocations: 8.14 MB / 1.348 GB, free: 4.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.197/10.33, allocations: 3 kB / 1.348 GB, free: 4.945 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.801063304999843] Failed to read output from testmodel.py, exit status != 0: 10.458591055008583 10.484431189 9.405381189 Calling exit ...