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.0007869/0.0007869, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007896/0.0007896, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.834/0.834, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001425/0.001425, allocations: 242.3 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.6604/0.6604, allocations: 138.4 MB / 454.3 MB, free: 30.09 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.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.911e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00211/0.002129, allocations: 1.519 MB / 0.6477 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2205/0.2226, allocations: 0.5249 MB / 0.6483 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.2227, allocations: 1.781 kB / 0.6483 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2228, allocations: 11.61 kB / 0.6483 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.2229, allocations: 27.2 kB / 0.6483 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.2237, allocations: 321 kB / 0.6486 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.2242, allocations: 488.8 kB / 0.6491 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.2242, allocations: 11.17 kB / 0.6491 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.2246, allocations: 351.6 kB / 0.6494 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.2249, allocations: 127.1 kB / 0.6495 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.2249, allocations: 27.03 kB / 0.6496 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.225, allocations: 27.62 kB / 0.6496 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2251, allocations: 119.1 kB / 0.6497 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.2252, allocations: 129.9 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2256, allocations: 459.9 kB / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2256, allocations: 0 / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2256, allocations: 0 / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2256, allocations: 3.031 kB / 0.6503 GB, free: 55.86 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.0008643/0.2265, allocations: 0.8008 MB / 0.6511 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2266, allocations: 13.5 kB / 0.6511 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2266, allocations: 41.14 kB / 0.6511 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.2267, allocations: 51.92 kB / 0.6512 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2269, allocations: 259.8 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2269, allocations: 22.02 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.227, allocations: 26.14 kB / 0.6514 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.2275, allocations: 229.9 kB / 0.6517 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2275, allocations: 0.75 kB / 0.6517 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2275, allocations: 4.328 kB / 0.6517 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2276, allocations: 6.469 kB / 0.6517 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.2279, allocations: 117.4 kB / 0.6518 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.2282, allocations: 303.1 kB / 0.6521 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.2287, allocations: 182.6 kB / 0.6523 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.229, allocations: 123.4 kB / 0.6524 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.2291, allocations: 4.375 kB / 0.6524 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.2296, allocations: 231.2 kB / 0.6526 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.2296, allocations: 7 kB / 0.6526 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.00127/0.2308, allocations: 0.5313 MB / 0.6531 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2309, allocations: 58.61 kB / 0.6532 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.2312, allocations: 411.4 kB / 0.6536 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.2312, allocations: 40.06 kB / 0.6536 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.2312, allocations: 95.77 kB / 0.6537 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2313, allocations: 47.17 kB / 0.6537 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.2314, allocations: 122.9 kB / 0.6539 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.2314, allocations: 326.2 kB / 0.6542 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2316, allocations: 193.7 kB / 0.6544 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2318, allocations: 243.6 kB / 0.6546 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.2321, allocations: 283 kB / 0.6549 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2321, allocations: 0 / 0.6549 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005335/0.2326, allocations: 0.557 MB / 0.6554 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.2327, allocations: 84.38 kB / 0.6555 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2327, allocations: 1.906 kB / 0.6555 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.2327, allocations: 8.844 kB / 0.6555 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2328, allocations: 20.72 kB / 0.6555 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2328, allocations: 5.781 kB / 0.6555 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.2331, allocations: 65.59 kB / 0.6556 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.2332, allocations: 62.06 kB / 0.6556 GB, free: 52.89 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.0001904/0.2333, allocations: 198.8 kB / 0.6558 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.2334, allocations: 43.06 kB / 0.6559 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.2334, allocations: 36.56 kB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2334, allocations: 8.562 kB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2335, allocations: 0 / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2335, allocations: 5.234 kB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.2346, allocations: 0.7355 MB / 0.6566 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2346, allocations: 5.016 kB / 0.6566 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.2346, allocations: 4.797 kB / 0.6566 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2347, allocations: 1.125 kB / 0.6566 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.2347, allocations: 22.88 kB / 0.6567 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2347, allocations: 1.688 kB / 0.6567 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2347, allocations: 1.078 kB / 0.6567 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.2355, allocations: 0.5011 MB / 0.6572 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.2357, allocations: 141.6 kB / 0.6573 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.2357, allocations: 11.19 kB / 0.6573 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2359, allocations: 35.28 kB / 0.6573 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.236, allocations: 11.47 kB / 0.6574 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.236, allocations: 58.09 kB / 0.6574 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001914/0.2362, allocations: 293.5 kB / 0.6577 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2362, allocations: 2.625 kB / 0.6577 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002703/0.2365, allocations: 66.95 kB / 0.6578 GB, free: 51.93 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.0009847/0.2375, allocations: 1.067 MB / 0.6588 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009739/0.2384, allocations: 493.8 kB / 0.6593 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2384, allocations: 1.562 kB / 0.6593 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.2388, allocations: 126 kB / 0.6594 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.2391, allocations: 30.31 kB / 0.6594 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2417, allocations: 3.116 MB / 0.6625 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2418, allocations: 164.2 kB / 0.6626 GB, free: 48.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.2418, allocations: 15.33 kB / 0.6626 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.2419, allocations: 22.45 kB / 0.6627 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.2419, allocations: 0 / 0.6627 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2623, allocations: 7.974 MB / 0.6704 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/6.718, allocations: 15.94 kB / 0.6705 GB, free: 46.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.200298592448235] Failed to read output from testmodel.py, exit status != 0: 6.795789295807481 6.804374703 6.576827821 Calling exit ...