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.0008494/0.0008494, 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.000884/0.000884, allocations: 174.3 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.8911/0.8911, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5482/0.5482, allocations: 114 MB / 373.9 MB, free: 8.68 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.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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.518e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002018/0.002033, allocations: 1.707 MB / 0.5559 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.003017, allocations: 0.6167 MB / 0.5565 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.003079, allocations: 7.938 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.003173, allocations: 11.81 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.003282, allocations: 31.84 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.003871, allocations: 378.2 kB / 0.5569 GB, free: 8 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.004318, allocations: 0.601 MB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.004433, allocations: 33 kB / 0.5575 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.004841, allocations: 423.5 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.005067, allocations: 132.7 kB / 0.5581 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.005132, allocations: 44 kB / 0.5581 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.005186, allocations: 40 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.00532, allocations: 127.6 kB / 0.5583 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.005453, allocations: 151.7 kB / 0.5584 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.005966, allocations: 0.6506 MB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005969, allocations: 0 / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005971, allocations: 0 / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.00598, allocations: 0 / 0.559 GB, free: 13.82 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.001198/0.007177, allocations: 0.83 MB / 0.5598 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.007216, allocations: 12.62 kB / 0.5599 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.007255, allocations: 38.73 kB / 0.5599 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.007331, allocations: 56.66 kB / 0.5599 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.007615, allocations: 291.8 kB / 0.5602 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.007651, allocations: 20.36 kB / 0.5602 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.007697, allocations: 36.36 kB / 0.5603 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.008226, allocations: 246 kB / 0.5605 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.008234, allocations: 192 / 0.5605 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.008254, allocations: 8.375 kB / 0.5605 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.008261, allocations: 8.062 kB / 0.5605 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.008637, allocations: 138.2 kB / 0.5607 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.009466, allocations: 0.562 MB / 0.5612 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.01001, allocations: 186.4 kB / 0.5614 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.01037, allocations: 128.8 kB / 0.5615 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.01039, allocations: 0 / 0.5615 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/0.01087, allocations: 245.8 kB / 0.5617 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.01087, allocations: 0 / 0.5617 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001242/0.01211, allocations: 0.5363 MB / 0.5623 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.01215, allocations: 67.33 kB / 0.5623 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.01244, allocations: 441.9 kB / 0.5628 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.01248, allocations: 45.69 kB / 0.5628 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.01254, allocations: 101.4 kB / 0.5629 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.01257, allocations: 39.69 kB / 0.5629 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.0127, allocations: 145.4 kB / 0.5631 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.01279, allocations: 326.8 kB / 0.5634 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.01301, allocations: 219.3 kB / 0.5636 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.01325, allocations: 269.3 kB / 0.5639 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.0135, allocations: 301.2 kB / 0.5641 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01351, allocations: 0 / 0.5641 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005654/0.01407, allocations: 0.6001 MB / 0.5647 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.01413, allocations: 87.38 kB / 0.5648 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01413, allocations: 0 / 0.5648 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01415, allocations: 8.188 kB / 0.5648 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.01424, allocations: 27.91 kB / 0.5648 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01425, allocations: 0 / 0.5648 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.01448, allocations: 67.84 kB / 0.5649 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.01454, allocations: 63.92 kB / 0.565 GB, free: 7.402 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.0001702/0.01471, allocations: 220.3 kB / 0.5652 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01475, allocations: 51.7 kB / 0.5652 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.0148, allocations: 39.73 kB / 0.5653 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.0148, allocations: 4 kB / 0.5653 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01481, allocations: 0 / 0.5653 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01481, allocations: 3.984 kB / 0.5653 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.01622, allocations: 0.7709 MB / 0.566 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01622, allocations: 0 / 0.566 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.01624, allocations: 4 kB / 0.566 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01625, allocations: 0 / 0.566 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.01627, allocations: 27.97 kB / 0.5661 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01627, allocations: 0 / 0.5661 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01627, allocations: 0 / 0.5661 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.0171, allocations: 0.5217 MB / 0.5666 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.01729, allocations: 177.4 kB / 0.5667 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.01733, allocations: 16 kB / 0.5668 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.01754, allocations: 43.95 kB / 0.5668 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.01757, allocations: 11.92 kB / 0.5668 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.01761, allocations: 55.98 kB / 0.5669 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001989/0.01781, allocations: 319.1 kB / 0.5672 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01781, allocations: 4 kB / 0.5672 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002194/0.01803, allocations: 68 kB / 0.5672 GB, free: 5.016 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.00106/0.01909, allocations: 1.076 MB / 0.5683 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.0198, allocations: 0.5135 MB / 0.5688 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0198, allocations: 3.938 kB / 0.5688 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.02015, allocations: 139.3 kB / 0.5689 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.02041, allocations: 47.58 kB / 0.569 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.0232, allocations: 3.359 MB / 0.5722 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.02332, allocations: 178.8 kB / 0.5724 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.02336, allocations: 17.48 kB / 0.5724 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.02342, allocations: 36.48 kB / 0.5725 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.02342, allocations: 0 / 0.5725 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.04261, allocations: 8.546 MB / 0.5808 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.761, allocations: 6.609 kB / 0.5808 GB, free: 6.961 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.325862151570618] Failed to read output from testmodel.py, exit status != 0: 6.840252957306802 6.850821441 6.84309774 Calling exit ...