Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001134/0.001134, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001481/0.001481, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5633/0.5633, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5542 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.693e-05, allocations: 5.188 kB / 0.5542 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002955/0.002982, allocations: 1.724 MB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.004299, allocations: 0.621 MB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.004384, allocations: 0 / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.004497, allocations: 19.8 kB / 0.5565 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.00463, allocations: 27.84 kB / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.005598, allocations: 370.1 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.006135, allocations: 0.6009 MB / 0.5575 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.006248, allocations: 25.08 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.006725, allocations: 423.5 kB / 0.5579 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.006975, allocations: 143.6 kB / 0.5581 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.007044, allocations: 40 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.007101, allocations: 40 kB / 0.5582 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.007219, allocations: 127.6 kB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.007364, allocations: 151.7 kB / 0.5584 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.007913, allocations: 0.6389 MB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007917, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.303e-06/0.007918, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.007924, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 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.00107/0.008994, allocations: 0.8417 MB / 0.5599 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.009038, allocations: 12.62 kB / 0.5599 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.009087, allocations: 42.73 kB / 0.5599 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.009187, allocations: 56.66 kB / 0.56 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.009566, allocations: 283.8 kB / 0.5602 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.00961, allocations: 20.36 kB / 0.5603 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.009674, allocations: 32.36 kB / 0.5603 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.0107, allocations: 250 kB / 0.5605 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.01071, allocations: 192 / 0.5605 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.01073, allocations: 8.359 kB / 0.5605 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.01074, allocations: 8.062 kB / 0.5605 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.01111, allocations: 127.9 kB / 0.5607 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.0119, allocations: 0.5659 MB / 0.5612 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.01242, allocations: 186.5 kB / 0.5614 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.01276, allocations: 121 kB / 0.5615 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.01278, allocations: 11.92 kB / 0.5615 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.01328, allocations: 239.2 kB / 0.5618 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.01328, allocations: 0 / 0.5618 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001254/0.01453, allocations: 0.5402 MB / 0.5623 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.01457, allocations: 59.41 kB / 0.5623 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.01487, allocations: 445.9 kB / 0.5628 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.01491, allocations: 41.69 kB / 0.5628 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.01496, allocations: 105.3 kB / 0.5629 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.015, allocations: 51.67 kB / 0.563 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.01513, allocations: 133.4 kB / 0.5631 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.01521, allocations: 330.8 kB / 0.5634 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.01544, allocations: 219.3 kB / 0.5636 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.01567, allocations: 273.3 kB / 0.5639 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.01592, allocations: 299.2 kB / 0.5642 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01593, allocations: 4 kB / 0.5642 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005646/0.01649, allocations: 0.5977 MB / 0.5647 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.01655, allocations: 87.38 kB / 0.5648 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.01655, allocations: 4 kB / 0.5648 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01657, allocations: 0 / 0.5648 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.01666, allocations: 27.92 kB / 0.5649 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.01667, allocations: 4 kB / 0.5649 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.01691, allocations: 71.97 kB / 0.5649 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.01697, allocations: 59.97 kB / 0.565 GB, free: 7.336 MB / 0.5261 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.0001703/0.01714, allocations: 224.3 kB / 0.5652 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01717, allocations: 39.72 kB / 0.5652 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.01723, allocations: 43.72 kB / 0.5653 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.01723, allocations: 4 kB / 0.5653 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01724, allocations: 0 / 0.5653 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01724, allocations: 4 kB / 0.5653 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.01837, allocations: 0.7693 MB / 0.566 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01837, allocations: 0 / 0.566 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.01839, allocations: 7.984 kB / 0.566 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01839, allocations: 8 kB / 0.5661 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.01841, allocations: 15.98 kB / 0.5661 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01842, allocations: 0 / 0.5661 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01842, allocations: 0 / 0.5661 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.01927, allocations: 0.515 MB / 0.5666 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.01947, allocations: 185.4 kB / 0.5667 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.01952, allocations: 23.92 kB / 0.5668 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.01974, allocations: 31.97 kB / 0.5668 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.01978, allocations: 15.92 kB / 0.5668 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.01983, allocations: 59.97 kB / 0.5669 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002114/0.02004, allocations: 315.1 kB / 0.5672 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.02004, allocations: 0 / 0.5672 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002607/0.0203, allocations: 75.92 kB / 0.5672 GB, free: 4.949 MB / 0.5261 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.001144/0.02144, allocations: 1.075 MB / 0.5683 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007429/0.02219, allocations: 0.5174 MB / 0.5688 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02219, allocations: 8 kB / 0.5688 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.02254, allocations: 119.9 kB / 0.5689 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.02282, allocations: 48.47 kB / 0.569 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.02595, allocations: 3.371 MB / 0.5723 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.02609, allocations: 178.8 kB / 0.5724 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.356e-05/0.02616, allocations: 21.47 kB / 0.5725 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.02622, allocations: 32.48 kB / 0.5725 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of SimCode: time 9.31e-07/0.02622, allocations: 0 / 0.5725 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.04681, allocations: 8.553 MB / 0.5808 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.707, allocations: 7.859 kB / 0.5808 GB, free: 6.918 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.298844642937183] Failed to read output from testmodel.py, exit status != 0: 6.789872778579593 6.801672763 6.791784383 Calling exit ...