Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001405/0.001405, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001489/0.001489, allocations: 217.7 kB / 23 MB, free: 5.074 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9718/0.9718, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002019/0.002019, allocations: 70.92 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2312, allocations: 89.18 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003299/0.2345, allocations: 1.728 MB / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2361, allocations: 0.6285 MB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.2362, allocations: 4 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.2363, allocations: 15.81 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2364, allocations: 35.78 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.2374, allocations: 381 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.238, allocations: 0.6009 MB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.2381, allocations: 21.58 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.2385, allocations: 319.6 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.2389, allocations: 163.5 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.239, allocations: 40 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.239, allocations: 44 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2392, allocations: 119.6 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.2394, allocations: 223 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.2401, allocations: 0.5956 MB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2401, allocations: 0 / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2401, allocations: 3.938 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2401, allocations: 0 / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001432/0.2415, allocations: 0.8495 MB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2416, allocations: 8.031 kB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.2416, allocations: 42.73 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2417, allocations: 64.66 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.2422, allocations: 272.7 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.2422, allocations: 16.38 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.2423, allocations: 32.36 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/0.2433, allocations: 244.3 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2433, allocations: 3.938 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2433, allocations: 3.984 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2433, allocations: 8 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.2441, allocations: 107.9 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.2456, allocations: 0.6399 MB / 0.7354 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.2465, allocations: 170.5 kB / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.2472, allocations: 115.6 kB / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2473, allocations: 4 kB / 0.7357 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009617/0.2482, allocations: 223.2 kB / 0.7359 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2482, allocations: 0 / 0.7359 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.2507, allocations: 0.4954 MB / 0.7364 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2508, allocations: 59.41 kB / 0.7364 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.2513, allocations: 445.9 kB / 0.7369 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.2514, allocations: 45.69 kB / 0.7369 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2515, allocations: 105.3 kB / 0.737 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2515, allocations: 39.72 kB / 0.737 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.2518, allocations: 137.4 kB / 0.7372 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.252, allocations: 330.8 kB / 0.7375 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2522, allocations: 131.9 kB / 0.7376 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.2526, allocations: 193.9 kB / 0.7378 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.253, allocations: 301.2 kB / 0.7381 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.253, allocations: 0 / 0.7381 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009383/0.254, allocations: 0.5183 MB / 0.7386 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2541, allocations: 91.38 kB / 0.7387 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2541, allocations: 11.92 kB / 0.7387 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2541, allocations: 0 / 0.7387 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2543, allocations: 27.97 kB / 0.7387 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2543, allocations: 4.188 kB / 0.7387 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.2547, allocations: 67.72 kB / 0.7388 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.2548, allocations: 59.92 kB / 0.7388 GB, free: 6.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002695/0.2551, allocations: 216.4 kB / 0.739 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.2551, allocations: 39.72 kB / 0.7391 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.2552, allocations: 43.73 kB / 0.7391 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2552, allocations: 4 kB / 0.7391 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2552, allocations: 3.984 kB / 0.7391 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2552, allocations: 0 / 0.7391 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.2575, allocations: 0.759 MB / 0.7399 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2575, allocations: 4 kB / 0.7399 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.2575, allocations: 7.984 kB / 0.7399 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2575, allocations: 0 / 0.7399 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.2576, allocations: 19.92 kB / 0.7399 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2576, allocations: 7.922 kB / 0.7399 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2576, allocations: 4 kB / 0.7399 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2592, allocations: 482.3 kB / 0.7404 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.2596, allocations: 173.5 kB / 0.7405 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.2597, allocations: 19.92 kB / 0.7406 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.2601, allocations: 31.97 kB / 0.7406 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2601, allocations: 11.98 kB / 0.7406 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.2602, allocations: 63.97 kB / 0.7407 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003727/0.2606, allocations: 315.1 kB / 0.741 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2606, allocations: 0 / 0.741 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003921/0.261, allocations: 71.92 kB / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002045/0.263, allocations: 1.04 MB / 0.742 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.2643, allocations: 453.5 kB / 0.7425 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2643, allocations: 0 / 0.7425 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.265, allocations: 107.9 kB / 0.7426 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2656, allocations: 43.58 kB / 0.7426 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.2703, allocations: 3.021 MB / 0.7456 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.2707, allocations: 0.7864 MB / 0.7463 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.2708, allocations: 17.42 kB / 0.7464 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.2709, allocations: 27.42 kB / 0.7464 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.2709, allocations: 0 / 0.7464 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.3081, allocations: 6.913 MB / 0.7531 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.24, allocations: 7.703 kB / 0.7531 GB, free: 7.352 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.538827237000078] Failed to read output from testmodel.py, exit status != 0: 11.344044096000289 11.718410913 11.475498063 Calling exit ...