Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.001847/0.001847, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002302/0.002302, allocations: 214.9 kB / 23.78 MB, free: 4.523 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.513/1.513, allocations: 230.6 MB / 257.5 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.067/1.067, allocations: 150 MB / 464 MB, free: 10.2 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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",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.002046/0.002046, allocations: 65.81 kB / 0.642 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2111, allocations: 89.17 MB / 0.7291 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00465/0.2158, allocations: 1.711 MB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2174, allocations: 0.6091 MB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.2175, allocations: 0 / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2176, allocations: 15.86 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2178, allocations: 35.78 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.2189, allocations: 363.8 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.2196, allocations: 0.6009 MB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2198, allocations: 21.58 kB / 0.7324 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.2203, allocations: 323.5 kB / 0.7327 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.2208, allocations: 163.6 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2209, allocations: 40 kB / 0.7329 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.221, allocations: 40 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2212, allocations: 127.6 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.2215, allocations: 175.2 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.2222, allocations: 0.6034 MB / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2222, allocations: 4 kB / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2222, allocations: 0 / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.2222, allocations: 7.875 kB / 0.7338 GB, free: 11.97 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.001604/0.2238, allocations: 0.8378 MB / 0.7346 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2239, allocations: 8.031 kB / 0.7346 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.2239, allocations: 4.188 kB / 0.7346 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.224, allocations: 42.73 kB / 0.7347 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2241, allocations: 56.66 kB / 0.7347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.2246, allocations: 272.7 kB / 0.735 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.2246, allocations: 28.31 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.895e-05/0.2247, allocations: 28.36 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.2259, allocations: 241.7 kB / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2259, allocations: 0 / 0.7353 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.2259, allocations: 7.984 kB / 0.7353 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2259, allocations: 4 kB / 0.7353 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.2268, allocations: 115.9 kB / 0.7354 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.2282, allocations: 0.5581 MB / 0.7359 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.2294, allocations: 174.4 kB / 0.7361 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.2302, allocations: 108.8 kB / 0.7362 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.2302, allocations: 3.984 kB / 0.7362 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.2313, allocations: 223.4 kB / 0.7364 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 4.94e-06/0.2313, allocations: 11.98 kB / 0.7364 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002865/0.2342, allocations: 499 kB / 0.7369 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.2343, allocations: 71.33 kB / 0.737 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.2349, allocations: 441.9 kB / 0.7374 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.235, allocations: 41.69 kB / 0.7374 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2351, allocations: 101.4 kB / 0.7375 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2351, allocations: 43.67 kB / 0.7376 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.2354, allocations: 141.4 kB / 0.7377 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2356, allocations: 326.8 kB / 0.738 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.236, allocations: 215.3 kB / 0.7382 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.2364, allocations: 271.3 kB / 0.7385 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.2368, allocations: 300.5 kB / 0.7388 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2368, allocations: 0 / 0.7388 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001028/0.2379, allocations: 0.5899 MB / 0.7393 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.238, allocations: 87.38 kB / 0.7394 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.238, allocations: 4.188 kB / 0.7394 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.238, allocations: 4 kB / 0.7394 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2382, allocations: 23.92 kB / 0.7395 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2382, allocations: 0 / 0.7395 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.2388, allocations: 63.78 kB / 0.7395 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.2389, allocations: 67.95 kB / 0.7396 GB, free: 5.684 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.000329/0.2392, allocations: 220.3 kB / 0.7398 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.2393, allocations: 51.66 kB / 0.7398 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.2394, allocations: 43.66 kB / 0.7399 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2394, allocations: 0 / 0.7399 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2394, allocations: 4 kB / 0.7399 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2394, allocations: 3.938 kB / 0.7399 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.2419, allocations: 0.7357 MB / 0.7406 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2419, allocations: 0 / 0.7406 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.242, allocations: 7.984 kB / 0.7406 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.242, allocations: 0 / 0.7406 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.242, allocations: 23.92 kB / 0.7406 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.242, allocations: 4 kB / 0.7406 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.242, allocations: 0 / 0.7406 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.244, allocations: 494.1 kB / 0.7411 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.2444, allocations: 177.5 kB / 0.7413 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.2445, allocations: 23.92 kB / 0.7413 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.245, allocations: 31.97 kB / 0.7413 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.245, allocations: 7.984 kB / 0.7413 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/0.2451, allocations: 67.95 kB / 0.7414 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003949/0.2455, allocations: 319.1 kB / 0.7417 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2455, allocations: 0 / 0.7417 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000457/0.246, allocations: 67.98 kB / 0.7418 GB, free: 3.355 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.002388/0.2484, allocations: 1.045 MB / 0.7428 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.25, allocations: 0.5048 MB / 0.7433 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.25, allocations: 0 / 0.7433 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.2508, allocations: 116.2 kB / 0.7434 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.2512, allocations: 40.17 kB / 0.7434 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.2567, allocations: 3.336 MB / 0.7467 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2569, allocations: 183 kB / 0.7469 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.846e-05/0.257, allocations: 13.42 kB / 0.7469 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.235e-05/0.257, allocations: 27.42 kB / 0.7469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/0.257, allocations: 4 kB / 0.7469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.2901, allocations: 8.191 MB / 0.7549 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.84, allocations: 12.69 kB / 0.7549 GB, free: 5.766 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.176174021908082] Failed to read output from testmodel.py, exit status != 0: 12.00230897590518 12.324339846 12.099365802 Calling exit ...