Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.001463/0.001463, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002296/0.002296, allocations: 213.3 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.01/1.01, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003072/0.003072, allocations: 71.14 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2193, allocations: 89.18 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003308/0.2226, allocations: 1.703 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2242, allocations: 0.6105 MB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2243, allocations: 4 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2244, allocations: 11.81 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2246, allocations: 43.78 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2256, allocations: 368.4 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.2263, allocations: 0.6009 MB / 0.7315 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2265, allocations: 21.58 kB / 0.7315 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.227, allocations: 323.5 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.2274, allocations: 139.6 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2276, allocations: 40 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2277, allocations: 44 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2278, allocations: 127.6 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.2281, allocations: 175.2 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.2287, allocations: 0.6034 MB / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2287, allocations: 3.984 kB / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2287, allocations: 0 / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2287, allocations: 0 / 0.7329 GB, free: 12.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00162/0.2304, allocations: 0.8339 MB / 0.7337 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2304, allocations: 12.03 kB / 0.7337 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.2305, allocations: 46.67 kB / 0.7338 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.2307, allocations: 56.66 kB / 0.7338 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.2312, allocations: 276.7 kB / 0.7341 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.2312, allocations: 20.36 kB / 0.7341 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.2313, allocations: 32.36 kB / 0.7341 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.2323, allocations: 243.8 kB / 0.7344 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.2323, allocations: 11.94 kB / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.2324, allocations: 0 / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2324, allocations: 0 / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.2331, allocations: 115.9 kB / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.2344, allocations: 0.5542 MB / 0.735 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.2355, allocations: 178.4 kB / 0.7352 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.2362, allocations: 104.8 kB / 0.7353 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.2362, allocations: 8 kB / 0.7353 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/0.2372, allocations: 223.2 kB / 0.7355 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.2372, allocations: 0 / 0.7355 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002523/0.2397, allocations: 0.4946 MB / 0.736 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.2397, allocations: 67.38 kB / 0.7361 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.2403, allocations: 445.9 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.2404, allocations: 37.7 kB / 0.7365 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2405, allocations: 105.3 kB / 0.7366 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.2405, allocations: 39.73 kB / 0.7367 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.2408, allocations: 137.4 kB / 0.7368 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2409, allocations: 334.7 kB / 0.7371 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.2413, allocations: 219.3 kB / 0.7373 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.2417, allocations: 269.3 kB / 0.7376 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.2421, allocations: 291.1 kB / 0.7378 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2421, allocations: 8 kB / 0.7379 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000968/0.243, allocations: 0.586 MB / 0.7384 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.2431, allocations: 87.38 kB / 0.7385 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2431, allocations: 4 kB / 0.7385 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2432, allocations: 4 kB / 0.7385 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2433, allocations: 23.91 kB / 0.7385 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2433, allocations: 4 kB / 0.7385 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.2438, allocations: 67.95 kB / 0.7386 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.2439, allocations: 67.92 kB / 0.7387 GB, free: 5.867 MB / 0.5606 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002619/0.2441, allocations: 212.3 kB / 0.7389 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.2442, allocations: 43.7 kB / 0.7389 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.2443, allocations: 43.73 kB / 0.739 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2443, allocations: 0 / 0.739 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2443, allocations: 0 / 0.739 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2443, allocations: 4 kB / 0.739 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.2465, allocations: 0.7497 MB / 0.7397 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2465, allocations: 0 / 0.7397 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.2465, allocations: 4 kB / 0.7397 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2465, allocations: 0 / 0.7397 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.2465, allocations: 27.91 kB / 0.7397 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.2466, allocations: 0 / 0.7397 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2466, allocations: 0 / 0.7397 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.2483, allocations: 495.4 kB / 0.7402 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.2487, allocations: 177.5 kB / 0.7404 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.2487, allocations: 19.94 kB / 0.7404 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.2492, allocations: 31.97 kB / 0.7404 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2492, allocations: 7.984 kB / 0.7404 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/0.2493, allocations: 59.97 kB / 0.7405 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003699/0.2497, allocations: 319.1 kB / 0.7408 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2497, allocations: 0 / 0.7408 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000433/0.2501, allocations: 72 kB / 0.7409 GB, free: 3.559 MB / 0.5606 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.00215/0.2523, allocations: 1.047 MB / 0.7419 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.2537, allocations: 0.5134 MB / 0.7424 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2537, allocations: 0 / 0.7424 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/0.2544, allocations: 115.9 kB / 0.7425 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2548, allocations: 40.36 kB / 0.7425 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.26, allocations: 3.34 MB / 0.7458 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2603, allocations: 179 kB / 0.746 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.26e-05/0.2603, allocations: 13.44 kB / 0.746 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.2604, allocations: 31.42 kB / 0.746 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2604, allocations: 0 / 0.746 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.3007, allocations: 8.598 MB / 0.7544 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.62, allocations: 7.922 kB / 0.7544 GB, free: 5.551 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.09359243605286] Failed to read output from testmodel.py, exit status != 0: 11.731617592275143 12.155957607 11.924126608 Calling exit ...