Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007758/0.0007758, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007729/0.0007729, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8477/0.8477, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0014/0.0014, allocations: 248.2 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6498/0.6498, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.967e-05, allocations: 9.375 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001911/0.00193, allocations: 1.523 MB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2135/0.2154, allocations: 0.5313 MB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.2155, allocations: 0 / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2156, allocations: 10.86 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2158, allocations: 31.16 kB / 0.6483 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.2166, allocations: 314.4 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.217, allocations: 488.6 kB / 0.6491 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.2171, allocations: 5.594 kB / 0.6491 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.2174, allocations: 363.2 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2177, allocations: 124.2 kB / 0.6495 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.2177, allocations: 26.41 kB / 0.6496 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.2178, allocations: 27.41 kB / 0.6496 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2179, allocations: 121.1 kB / 0.6497 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.218, allocations: 129 kB / 0.6498 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.2184, allocations: 464.4 kB / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2184, allocations: 1.688 kB / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2184, allocations: 0.8125 kB / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2184, allocations: 0 / 0.6503 GB, free: 55.75 MB / 0.5573 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.0008358/0.2192, allocations: 0.798 MB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2193, allocations: 10.41 kB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.2193, allocations: 39.17 kB / 0.6511 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.2194, allocations: 52.94 kB / 0.6512 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2196, allocations: 259.8 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.2197, allocations: 18.34 kB / 0.6514 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.2197, allocations: 25.97 kB / 0.6515 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.2203, allocations: 228.9 kB / 0.6517 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2203, allocations: 192 / 0.6517 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2203, allocations: 8.125 kB / 0.6517 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2203, allocations: 6.688 kB / 0.6517 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2207, allocations: 115.5 kB / 0.6518 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.221, allocations: 302.8 kB / 0.6521 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.2215, allocations: 187.2 kB / 0.6523 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2219, allocations: 114 kB / 0.6524 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2219, allocations: 6.328 kB / 0.6524 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.2224, allocations: 241.5 kB / 0.6526 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2224, allocations: 6.594 kB / 0.6526 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.00127/0.2237, allocations: 0.5247 MB / 0.6531 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2237, allocations: 67.42 kB / 0.6532 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.224, allocations: 407.1 kB / 0.6536 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.224, allocations: 43.67 kB / 0.6536 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2241, allocations: 95.3 kB / 0.6537 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.2241, allocations: 40.09 kB / 0.6537 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2242, allocations: 127 kB / 0.6539 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.2243, allocations: 322.9 kB / 0.6542 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2245, allocations: 191.2 kB / 0.6544 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.2247, allocations: 249.4 kB / 0.6546 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.2249, allocations: 278.7 kB / 0.6549 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2249, allocations: 0 / 0.6549 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005292/0.2254, allocations: 0.5596 MB / 0.6554 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.2255, allocations: 81.75 kB / 0.6555 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2255, allocations: 3.719 kB / 0.6555 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2255, allocations: 9.656 kB / 0.6555 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2256, allocations: 21.03 kB / 0.6555 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2256, allocations: 4.125 kB / 0.6555 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.2259, allocations: 64.25 kB / 0.6556 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.226, allocations: 61.64 kB / 0.6556 GB, free: 52.74 MB / 0.5573 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.0001758/0.2262, allocations: 193.3 kB / 0.6558 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2262, allocations: 39.23 kB / 0.6559 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.2263, allocations: 41.5 kB / 0.6559 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2263, allocations: 9.844 kB / 0.6559 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2263, allocations: 2.5 kB / 0.6559 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2263, allocations: 1.547 kB / 0.6559 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.2275, allocations: 0.735 MB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2275, allocations: 4.625 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.2275, allocations: 7.016 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2275, allocations: 0.5938 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2275, allocations: 27.05 kB / 0.6567 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2275, allocations: 1.875 kB / 0.6567 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2275, allocations: 0 / 0.6567 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008316/0.2284, allocations: 0.507 MB / 0.6572 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.2285, allocations: 136.7 kB / 0.6573 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.2286, allocations: 15.88 kB / 0.6573 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2288, allocations: 40.03 kB / 0.6574 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.2288, allocations: 8.656 kB / 0.6574 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.2289, allocations: 58.75 kB / 0.6574 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002031/0.2291, allocations: 298.9 kB / 0.6577 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2291, allocations: 2.625 kB / 0.6577 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002929/0.2294, allocations: 66.28 kB / 0.6578 GB, free: 51.78 MB / 0.5573 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.0009754/0.2304, allocations: 1.06 MB / 0.6588 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000733/0.2311, allocations: 491.3 kB / 0.6593 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2311, allocations: 0 / 0.6593 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2314, allocations: 128.7 kB / 0.6594 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2317, allocations: 25.58 kB / 0.6594 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.2344, allocations: 3.115 MB / 0.6625 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2345, allocations: 163.7 kB / 0.6626 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.326e-05/0.2345, allocations: 15.53 kB / 0.6626 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2346, allocations: 26.66 kB / 0.6627 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.2346, allocations: 0 / 0.6627 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.2555, allocations: 7.974 MB / 0.6704 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.808, allocations: 10.59 kB / 0.6705 GB, free: 46.57 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.326302581466734] Failed to read output from testmodel.py, exit status != 0: 6.886633077636361 6.895430185 6.675320314 Calling exit ...