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.001345/0.001345, allocations: 105 kB / 20.48 MB, free: 1.488 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.001502/0.001502, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.476/1.476, allocations: 230.6 MB / 257.6 MB, free: 8.035 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 0.9798/0.9798, allocations: 150 MB / 464 MB, free: 11.01 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="cs",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="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.002308/0.002308, allocations: 64.06 kB / 0.6421 GB, free: 10.69 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2049, allocations: 89.16 MB / 0.7292 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003235/0.2082, allocations: 1.759 MB / 0.7309 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2097, allocations: 0.6302 MB / 0.7315 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.2098, allocations: 0 / 0.7315 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.21, allocations: 19.86 kB / 0.7315 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.2101, allocations: 35.78 kB / 0.7315 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2113, allocations: 358 kB / 0.7319 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.2121, allocations: 0.6125 MB / 0.7325 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2122, allocations: 21.3 kB / 0.7325 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.2128, allocations: 319.6 kB / 0.7328 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.2132, allocations: 164.1 kB / 0.733 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.3e-05/0.2133, allocations: 40 kB / 0.733 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.2134, allocations: 47.94 kB / 0.733 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2136, allocations: 119.7 kB / 0.7332 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.2139, allocations: 215 kB / 0.7334 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.2148, allocations: 0.6033 MB / 0.7339 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2148, allocations: 0 / 0.7339 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2148, allocations: 0 / 0.7339 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.2148, allocations: 4 kB / 0.734 GB, free: 12.66 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.001715/0.2165, allocations: 0.8476 MB / 0.7348 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.2166, allocations: 8.031 kB / 0.7348 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.2166, allocations: 192 / 0.7348 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.2167, allocations: 50.72 kB / 0.7348 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.2168, allocations: 56.66 kB / 0.7349 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.2173, allocations: 272.8 kB / 0.7352 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.2174, allocations: 20.36 kB / 0.7352 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.2175, allocations: 36.36 kB / 0.7352 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2185, allocations: 241.6 kB / 0.7354 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2185, allocations: 0 / 0.7354 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2186, allocations: 4 kB / 0.7354 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2186, allocations: 0 / 0.7354 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.2194, allocations: 119.9 kB / 0.7356 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.221, allocations: 0.6399 MB / 0.7362 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2221, allocations: 170.5 kB / 0.7363 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.2229, allocations: 108.8 kB / 0.7364 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.2229, allocations: 4 kB / 0.7364 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.224, allocations: 230.3 kB / 0.7367 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.224, allocations: 0 / 0.7367 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002679/0.2267, allocations: 0.4892 MB / 0.7371 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.2268, allocations: 63.39 kB / 0.7372 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.2275, allocations: 445.9 kB / 0.7376 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.279e-05/0.2276, allocations: 41.69 kB / 0.7377 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2277, allocations: 109.3 kB / 0.7378 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.2278, allocations: 39.75 kB / 0.7378 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.228, allocations: 141.4 kB / 0.7379 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2282, allocations: 326.8 kB / 0.7383 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.2285, allocations: 135.9 kB / 0.7384 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.2289, allocations: 185.9 kB / 0.7386 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.2293, allocations: 299 kB / 0.7389 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2293, allocations: 4 kB / 0.7389 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009918/0.2303, allocations: 0.5202 MB / 0.7394 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2305, allocations: 95.38 kB / 0.7395 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2305, allocations: 0 / 0.7395 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.2305, allocations: 7.938 kB / 0.7395 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2307, allocations: 23.92 kB / 0.7395 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.2307, allocations: 7.984 kB / 0.7395 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.2313, allocations: 71.91 kB / 0.7396 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.2314, allocations: 55.98 kB / 0.7396 GB, free: 6.547 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.0004024/0.2318, allocations: 220.3 kB / 0.7398 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.2319, allocations: 39.72 kB / 0.7399 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.232, allocations: 47.72 kB / 0.7399 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.232, allocations: 0 / 0.7399 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.232, allocations: 0 / 0.7399 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.232, allocations: 7.938 kB / 0.7399 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.2345, allocations: 0.7552 MB / 0.7407 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2345, allocations: 0 / 0.7407 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.2345, allocations: 4 kB / 0.7407 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2345, allocations: 8 kB / 0.7407 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2346, allocations: 23.91 kB / 0.7407 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2346, allocations: 0 / 0.7407 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2346, allocations: 3.938 kB / 0.7407 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.2364, allocations: 486.9 kB / 0.7412 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.2368, allocations: 173.5 kB / 0.7413 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.2369, allocations: 23.94 kB / 0.7413 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.2374, allocations: 35.08 kB / 0.7414 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.2374, allocations: 7.984 kB / 0.7414 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.2375, allocations: 55.98 kB / 0.7414 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004657/0.2379, allocations: 327.1 kB / 0.7418 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2379, allocations: 0 / 0.7418 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004437/0.2384, allocations: 64 kB / 0.7418 GB, free: 4.223 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.002282/0.2407, allocations: 1.041 MB / 0.7428 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.2422, allocations: 454.6 kB / 0.7433 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2422, allocations: 4.062 kB / 0.7433 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.243, allocations: 107.9 kB / 0.7434 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.2434, allocations: 37.42 kB / 0.7434 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.2489, allocations: 3.016 MB / 0.7463 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.2495, allocations: 0.7825 MB / 0.7471 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.2496, allocations: 13.42 kB / 0.7471 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.2497, allocations: 35.42 kB / 0.7472 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/0.2497, allocations: 0 / 0.7472 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.2794, allocations: 6.958 MB / 0.754 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.65, allocations: 6.641 kB / 0.754 GB, free: 7.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.86425873695407] Failed to read output from testmodel.py, exit status != 0: 11.815788287960459 12.187620683 11.970280902 Calling exit ...