Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.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.001011/0.001011, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001115/0.001115, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.909/0.909, allocations: 177.2 MB / 203.5 MB, free: 5.488 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.5625/0.5625, allocations: 114 MB / 373.9 MB, free: 8.617 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5542 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.574e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002382/0.002408, allocations: 1.517 MB / 0.5556 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003413, allocations: 0.5265 MB / 0.5562 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.003496, allocations: 0 / 0.5562 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.00361, allocations: 15.86 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.003739, allocations: 27.78 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.004544, allocations: 315.3 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.005119, allocations: 491.5 kB / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.005166, allocations: 0 / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.005551, allocations: 359.5 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.005793, allocations: 135.8 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.005843, allocations: 24 kB / 0.5575 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.098e-05/0.005894, allocations: 28 kB / 0.5575 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.005994, allocations: 119.6 kB / 0.5576 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.006103, allocations: 131.7 kB / 0.5577 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.006451, allocations: 462.8 kB / 0.5582 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.006456, allocations: 4 kB / 0.5582 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.006457, allocations: 0 / 0.5582 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.006464, allocations: 0 / 0.5582 GB, free: 14.71 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008938/0.007358, allocations: 0.7949 MB / 0.559 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.007398, allocations: 12.62 kB / 0.559 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.00744, allocations: 38.73 kB / 0.559 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.007526, allocations: 56.66 kB / 0.5591 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.007808, allocations: 256 kB / 0.5593 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.007847, allocations: 28.34 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.007892, allocations: 20.38 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.008429, allocations: 232.7 kB / 0.5596 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.008437, allocations: 4.188 kB / 0.5596 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.008458, allocations: 12.31 kB / 0.5596 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008464, allocations: 4.125 kB / 0.5596 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.008835, allocations: 119.9 kB / 0.5597 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.009142, allocations: 304.5 kB / 0.56 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.009962, allocations: 178.5 kB / 0.5602 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.01032, allocations: 120.8 kB / 0.5603 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.01035, allocations: 0 / 0.5603 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.01088, allocations: 245.9 kB / 0.5605 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01088, allocations: 0 / 0.5605 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001358/0.01224, allocations: 0.5205 MB / 0.561 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.01228, allocations: 63.39 kB / 0.5611 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.01258, allocations: 413.9 kB / 0.5615 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.01263, allocations: 41.69 kB / 0.5615 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.01268, allocations: 97.44 kB / 0.5616 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.01272, allocations: 43.67 kB / 0.5617 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.01285, allocations: 133.4 kB / 0.5618 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.01294, allocations: 322.8 kB / 0.5621 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.01316, allocations: 191.3 kB / 0.5623 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.01337, allocations: 249.2 kB / 0.5625 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.01363, allocations: 269.3 kB / 0.5628 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01363, allocations: 0 / 0.5628 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005558/0.01418, allocations: 0.5608 MB / 0.5633 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.01424, allocations: 79.38 kB / 0.5634 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.01425, allocations: 4 kB / 0.5634 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01427, allocations: 4.125 kB / 0.5634 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01438, allocations: 23.98 kB / 0.5634 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.01439, allocations: 7.938 kB / 0.5634 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.01465, allocations: 67.83 kB / 0.5635 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.01471, allocations: 59.98 kB / 0.5635 GB, free: 8.867 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001838/0.01489, allocations: 187.8 kB / 0.5637 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.01493, allocations: 39.77 kB / 0.5638 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.01498, allocations: 51.61 kB / 0.5638 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01499, allocations: 3.938 kB / 0.5638 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01499, allocations: 0 / 0.5638 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.015, allocations: 3.984 kB / 0.5638 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.01623, allocations: 0.7377 MB / 0.5645 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01624, allocations: 3.938 kB / 0.5645 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.01627, allocations: 7.938 kB / 0.5646 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01627, allocations: 0 / 0.5646 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.0163, allocations: 27.97 kB / 0.5646 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.0163, allocations: 0 / 0.5646 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0163, allocations: 0 / 0.5646 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009471/0.01725, allocations: 0.5072 MB / 0.5651 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.01745, allocations: 129.5 kB / 0.5652 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.01751, allocations: 15.98 kB / 0.5652 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.01775, allocations: 39.97 kB / 0.5653 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01779, allocations: 7.984 kB / 0.5653 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.01784, allocations: 59.97 kB / 0.5653 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002311/0.01807, allocations: 291.1 kB / 0.5656 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.01807, allocations: 4 kB / 0.5656 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003494/0.01842, allocations: 71.98 kB / 0.5657 GB, free: 6.625 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.00134/0.01976, allocations: 1.059 MB / 0.5667 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.02089, allocations: 489.8 kB / 0.5672 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.02089, allocations: 0 / 0.5672 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.02126, allocations: 128.2 kB / 0.5673 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.02156, allocations: 29.64 kB / 0.5673 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.02462, allocations: 3.113 MB / 0.5704 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.02475, allocations: 171 kB / 0.5705 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.02481, allocations: 9.312 kB / 0.5705 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.02487, allocations: 28.48 kB / 0.5706 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/0.02487, allocations: 0 / 0.5706 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.04763, allocations: 7.925 MB / 0.5783 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.114, allocations: 8.062 kB / 0.5783 GB, free: 9.508 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.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_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.786770711652935] Failed to read output from testmodel.py, exit status != 0: 7.200639274902642 7.212623108 7.203793338 Calling exit ...