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.0007046/0.0007046, 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.000715/0.000715, 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.8511/0.8511, 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.001378/0.001378, allocations: 236.8 kB / 259.4 MB, free: 13.03 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.6611/0.6611, 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.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.413e-06/1.413e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.051e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00192/0.00194, allocations: 1.527 MB / 0.6477 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2195/0.2214, allocations: 0.5222 MB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.2215, allocations: 0.9688 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.556e-05/0.2216, allocations: 10.77 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2217, allocations: 30.2 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.2224, allocations: 321.2 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.2227, allocations: 491.3 kB / 0.6491 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.2228, allocations: 4.156 kB / 0.6491 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.2231, allocations: 361.7 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.2233, allocations: 126.7 kB / 0.6495 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.2234, allocations: 26.25 kB / 0.6496 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.2234, allocations: 28.78 kB / 0.6496 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2235, allocations: 117.9 kB / 0.6497 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2236, allocations: 129.1 kB / 0.6498 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.224, allocations: 465.1 kB / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.224, allocations: 0 / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.224, allocations: 2.188 kB / 0.6503 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.224, 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.0008643/0.2249, allocations: 0.7948 MB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2249, allocations: 14.5 kB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.225, allocations: 41.92 kB / 0.6511 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.225, allocations: 51.23 kB / 0.6512 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2253, allocations: 254 kB / 0.6514 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.2253, allocations: 21.3 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2254, allocations: 33.19 kB / 0.6515 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.226, allocations: 226.3 kB / 0.6517 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.226, allocations: 1.578 kB / 0.6517 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.226, allocations: 5.219 kB / 0.6517 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.226, allocations: 6.75 kB / 0.6517 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.2263, allocations: 114.4 kB / 0.6518 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.2266, allocations: 304.5 kB / 0.6521 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.2271, allocations: 187.6 kB / 0.6523 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.2275, allocations: 118.2 kB / 0.6524 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2275, allocations: 5.188 kB / 0.6524 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/0.2281, allocations: 239.8 kB / 0.6526 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 3.106e-06/0.2281, allocations: 4.641 kB / 0.6526 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001308/0.2294, allocations: 0.5296 MB / 0.6531 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2294, allocations: 62.08 kB / 0.6532 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.2297, allocations: 409.4 kB / 0.6536 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.2297, allocations: 41.3 kB / 0.6536 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.2298, allocations: 96.53 kB / 0.6537 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2298, allocations: 40.62 kB / 0.6537 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2299, allocations: 122.4 kB / 0.6539 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.23, allocations: 323.2 kB / 0.6542 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2302, allocations: 195.2 kB / 0.6544 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2304, allocations: 249.3 kB / 0.6546 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2306, allocations: 274.4 kB / 0.6549 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2306, allocations: 1.125 kB / 0.6549 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005131/0.2311, allocations: 0.5585 MB / 0.6554 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.2311, allocations: 88.28 kB / 0.6555 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2311, allocations: 1.656 kB / 0.6555 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2312, allocations: 7.188 kB / 0.6555 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2313, allocations: 22.69 kB / 0.6555 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2313, allocations: 6.359 kB / 0.6555 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.2315, allocations: 66.33 kB / 0.6556 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.2316, allocations: 59 kB / 0.6556 GB, free: 52.75 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.0001584/0.2318, allocations: 202.5 kB / 0.6558 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.2318, allocations: 37.2 kB / 0.6559 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.2318, allocations: 38.22 kB / 0.6559 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2319, allocations: 5.812 kB / 0.6559 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2319, allocations: 1.5 kB / 0.6559 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2319, allocations: 0.9375 kB / 0.6559 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.233, allocations: 0.7346 MB / 0.6566 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.233, allocations: 6.688 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.233, allocations: 9.297 kB / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.233, allocations: 0 / 0.6566 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.2331, allocations: 21.41 kB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2331, allocations: 4 kB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2331, allocations: 0.9844 kB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.2339, allocations: 0.4992 MB / 0.6572 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2341, allocations: 141.1 kB / 0.6573 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.2341, allocations: 12.14 kB / 0.6573 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2344, allocations: 39.62 kB / 0.6573 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.2344, allocations: 15.59 kB / 0.6574 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.2344, allocations: 56.89 kB / 0.6574 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002005/0.2346, allocations: 294.7 kB / 0.6577 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2346, allocations: 2.625 kB / 0.6577 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002967/0.2349, allocations: 66.09 kB / 0.6578 GB, free: 51.79 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.000988/0.2359, allocations: 1.064 MB / 0.6588 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.2367, allocations: 497.4 kB / 0.6593 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2367, allocations: 0 / 0.6593 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.237, allocations: 123.8 kB / 0.6594 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.2373, allocations: 29.41 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.002486/0.2398, allocations: 3.113 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.2399, allocations: 160.8 kB / 0.6626 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.2399, allocations: 16.72 kB / 0.6626 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.24, allocations: 27.08 kB / 0.6627 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.24, allocations: 4 kB / 0.6627 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.2609, allocations: 7.975 MB / 0.6704 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.402/6.663, allocations: 5.859 kB / 0.6705 GB, free: 46.58 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.127760409377515] Failed to read output from testmodel.py, exit status != 0: 6.740582444705069 6.74890958 6.523171338 Calling exit ...