Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0007956/0.0007956, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008384/0.0008384, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8519/0.8519, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.00145/0.00145, allocations: 236.1 kB / 259.4 MB, free: 13.02 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.6326/0.6326, allocations: 138.4 MB / 454.3 MB, free: 1.605 MB / 362.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.942e-05, allocations: 4.25 kB / 0.6463 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001592/0.001611, allocations: 1.516 MB / 0.6478 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.002386, allocations: 0.5368 MB / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.002439, allocations: 0 / 0.6483 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.04e-05/0.002529, allocations: 9.203 kB / 0.6483 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.002627, allocations: 34.56 kB / 0.6483 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.003185, allocations: 323.3 kB / 0.6486 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.003496, allocations: 486.5 kB / 0.6491 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.003535, allocations: 3.188 kB / 0.6491 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.003848, allocations: 356.8 kB / 0.6494 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.004037, allocations: 128.4 kB / 0.6496 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.004093, allocations: 26.41 kB / 0.6496 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.004149, allocations: 27.34 kB / 0.6496 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.004273, allocations: 116.3 kB / 0.6497 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.004379, allocations: 130.8 kB / 0.6498 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.004687, allocations: 463.8 kB / 0.6503 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.004691, allocations: 1.125 kB / 0.6503 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004693, allocations: 0 / 0.6503 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.0047, allocations: 0 / 0.6503 GB, free: 26.21 MB / 0.5105 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.0007761/0.005476, allocations: 0.7998 MB / 0.6511 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.005522, allocations: 10.56 kB / 0.6511 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.005555, allocations: 37.36 kB / 0.6511 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.005638, allocations: 59.61 kB / 0.6512 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.005877, allocations: 267.9 kB / 0.6514 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.005915, allocations: 19.02 kB / 0.6514 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.005962, allocations: 30.81 kB / 0.6515 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.006468, allocations: 226.4 kB / 0.6517 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006476, allocations: 1.344 kB / 0.6517 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.006494, allocations: 1.969 kB / 0.6517 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.0065, allocations: 5.844 kB / 0.6517 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.00685, allocations: 112.3 kB / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.007097, allocations: 313 kB / 0.6521 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.007603, allocations: 183 kB / 0.6523 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.007941, allocations: 116.4 kB / 0.6524 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.007966, allocations: 3.031 kB / 0.6524 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005264/0.008492, allocations: 238 kB / 0.6526 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.008494, allocations: 0 / 0.6526 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.001312/0.009806, allocations: 0.5301 MB / 0.6531 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.009836, allocations: 63.42 kB / 0.6532 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.01009, allocations: 410.1 kB / 0.6536 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.01012, allocations: 42.06 kB / 0.6536 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.01016, allocations: 88.52 kB / 0.6537 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.01019, allocations: 50.48 kB / 0.6538 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.01031, allocations: 125.3 kB / 0.6539 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.01035, allocations: 321.7 kB / 0.6542 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.01055, allocations: 197.3 kB / 0.6544 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01077, allocations: 240.5 kB / 0.6546 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.01104, allocations: 284.4 kB / 0.6549 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01104, allocations: 1.125 kB / 0.6549 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005473/0.01159, allocations: 0.5514 MB / 0.6554 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.01163, allocations: 80.34 kB / 0.6555 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.01164, allocations: 1.375 kB / 0.6555 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01166, allocations: 11.69 kB / 0.6555 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01177, allocations: 26.3 kB / 0.6555 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01178, allocations: 2.812 kB / 0.6555 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.01204, allocations: 68.64 kB / 0.6556 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.01211, allocations: 57.42 kB / 0.6557 GB, free: 22.38 MB / 0.5105 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.0001839/0.01229, allocations: 192.4 kB / 0.6558 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.01233, allocations: 40.7 kB / 0.6559 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.01238, allocations: 43.7 kB / 0.6559 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.01238, allocations: 5.375 kB / 0.6559 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.01239, allocations: 1.344 kB / 0.6559 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01239, allocations: 0 / 0.6559 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.01356, allocations: 0.7441 MB / 0.6567 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.01356, allocations: 3.938 kB / 0.6567 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.01358, allocations: 4.281 kB / 0.6567 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01359, allocations: 1.062 kB / 0.6567 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.01362, allocations: 24.44 kB / 0.6567 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.01362, allocations: 5.125 kB / 0.6567 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01362, allocations: 0 / 0.6567 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.0145, allocations: 0.5087 MB / 0.6572 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.01467, allocations: 139.1 kB / 0.6573 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.01472, allocations: 13.28 kB / 0.6573 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.01494, allocations: 34.25 kB / 0.6574 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.01496, allocations: 7.422 kB / 0.6574 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.01501, allocations: 66.73 kB / 0.6574 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001777/0.01519, allocations: 298 kB / 0.6577 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.01519, allocations: 0 / 0.6577 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002508/0.01544, allocations: 66.61 kB / 0.6578 GB, free: 21.09 MB / 0.5105 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.0009834/0.01642, allocations: 1.064 MB / 0.6588 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000689/0.01711, allocations: 492.8 kB / 0.6593 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01711, allocations: 0 / 0.6593 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.01744, allocations: 128.3 kB / 0.6594 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01772, allocations: 32.2 kB / 0.6594 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.01988, allocations: 3.11 MB / 0.6625 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.241e-05/0.01996, allocations: 163 kB / 0.6626 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.02001, allocations: 13.16 kB / 0.6627 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.02006, allocations: 24.48 kB / 0.6627 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of SimCode: time 9.11e-07/0.02006, allocations: 0 / 0.6627 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.03735, allocations: 7.964 MB / 0.6705 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/6.56, allocations: 8.438 kB / 0.6705 GB, free: 8.344 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.265692548826337] Failed to read output from testmodel.py, exit status != 0: 6.639354244805872 6.647157619 6.640685421 Calling exit ...