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.001936/0.001936, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002326/0.002326, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.002539/0.002539, allocations: 284.6 kB / 312.7 MB, free: 2.797 MB / 238.1 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 1.294/1.294, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 178] 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: NcDataReader2 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: BuildingSystems 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.00418/0.00418, allocations: 97.77 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2304, allocations: 95.38 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00318/0.2336, allocations: 1.553 MB / 0.8342 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2354, allocations: 0.5643 MB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.2355, allocations: 0 / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2356, allocations: 3.938 kB / 0.8348 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2357, allocations: 27.8 kB / 0.8348 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2369, allocations: 317.7 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.2376, allocations: 487.4 kB / 0.8356 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.2377, allocations: 4 kB / 0.8356 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.2382, allocations: 287.6 kB / 0.8359 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.2386, allocations: 143.7 kB / 0.836 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.2387, allocations: 28 kB / 0.836 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.2388, allocations: 24 kB / 0.836 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.239, allocations: 119.6 kB / 0.8362 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.2393, allocations: 187 kB / 0.8363 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.24, allocations: 422.7 kB / 0.8367 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.24, allocations: 4 kB / 0.8367 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.24, allocations: 0 / 0.8367 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.24, allocations: 4 kB / 0.8367 GB, free: 4.508 MB / 0.5762 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.001715/0.2417, allocations: 0.8015 MB / 0.8375 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.2418, allocations: 9.344 kB / 0.8375 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.2418, allocations: 38.73 kB / 0.8376 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.242, allocations: 48.7 kB / 0.8376 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.2426, allocations: 268.6 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.2427, allocations: 20.38 kB / 0.8379 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2428, allocations: 28.34 kB / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.2442, allocations: 214 kB / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2443, allocations: 3.938 kB / 0.8381 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.2443, allocations: 8 kB / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2443, allocations: 0 / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2453, allocations: 109.7 kB / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.2459, allocations: 360.4 kB / 0.8386 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2473, allocations: 162.5 kB / 0.8387 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.2484, allocations: 104.8 kB / 0.8388 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.2485, allocations: 4 kB / 0.8388 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.2498, allocations: 225.5 kB / 0.8391 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/0.2498, allocations: 0 / 0.8391 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.003632/0.2535, allocations: 492.9 kB / 0.8395 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.2535, allocations: 59.41 kB / 0.8396 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.2542, allocations: 409.9 kB / 0.84 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.2543, allocations: 37.7 kB / 0.84 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2544, allocations: 97.44 kB / 0.8401 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.2545, allocations: 47.67 kB / 0.8401 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.2548, allocations: 125.5 kB / 0.8403 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2549, allocations: 322.8 kB / 0.8406 GB, free: 364 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.2554, allocations: 119.9 kB / 0.8407 GB, free: 244 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.2558, allocations: 171.1 kB / 0.8409 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.2565, allocations: 277.3 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2565, allocations: 0 / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001443/0.2579, allocations: 491.5 kB / 0.8416 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.2581, allocations: 93.5 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.2581, allocations: 4.188 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.2581, allocations: 4 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.2584, allocations: 31.91 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2584, allocations: 0 / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.2593, allocations: 59.78 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.2594, allocations: 59.98 kB / 0.8418 GB, free: 14.99 MB / 0.5919 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.0004243/0.2598, allocations: 200.4 kB / 0.842 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.2599, allocations: 39.7 kB / 0.8421 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.641e-05/0.26, allocations: 39.69 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.26, allocations: 0 / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.26, allocations: 4 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.26, allocations: 3.984 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.2637, allocations: 0.7232 MB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2637, allocations: 0 / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.2638, allocations: 4 kB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.2638, allocations: 4 kB / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.2639, allocations: 15.97 kB / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2639, allocations: 4 kB / 0.8428 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2639, allocations: 3.938 kB / 0.8428 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.2669, allocations: 475.4 kB / 0.8433 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.2674, allocations: 141.5 kB / 0.8434 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2675, allocations: 15.98 kB / 0.8434 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.2683, allocations: 31.97 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2683, allocations: 7.984 kB / 0.8435 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.2684, allocations: 55.97 kB / 0.8435 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005286/0.269, allocations: 299.1 kB / 0.8438 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.269, allocations: 0 / 0.8438 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006854/0.2697, allocations: 63.98 kB / 0.8439 GB, free: 12.82 MB / 0.5919 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.003512/0.2732, allocations: 1.024 MB / 0.8449 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.2753, allocations: 402.5 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2753, allocations: 3.938 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.2766, allocations: 118.9 kB / 0.8454 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.2772, allocations: 25.58 kB / 0.8454 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.2844, allocations: 2.795 MB / 0.8481 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.285, allocations: 0.7669 MB / 0.8489 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.2851, allocations: 13.08 kB / 0.8489 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2852, allocations: 27.42 kB / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/0.2852, allocations: 0 / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.3277, allocations: 6.365 MB / 0.8551 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.86, allocations: 9.562 kB / 0.8551 GB, free: 1.117 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.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 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: 15.35676794399842] Failed to read output from testmodel.py, exit status != 0: 10.968412859001546 11.00000495 10.754306747 Calling exit ...