Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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.001372/0.001372, 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.001609/0.001609, 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.961 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.002571/0.002571, allocations: 282.5 kB / 312.7 MB, free: 2.773 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 12.92 MB / 382.1 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.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.002888/0.002888, allocations: 98.64 kB / 0.7396 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1972, allocations: 95.39 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002723/0.1999, allocations: 1.551 MB / 0.8342 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2012, allocations: 0.5577 MB / 0.8348 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.2012, allocations: 0 / 0.8348 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.87e-05/0.2013, allocations: 11.86 kB / 0.8348 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2014, allocations: 27.84 kB / 0.8348 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.2022, allocations: 310.2 kB / 0.8351 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.2027, allocations: 491.4 kB / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.2028, allocations: 8 kB / 0.8356 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.2032, allocations: 271.7 kB / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.2035, allocations: 151.6 kB / 0.836 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.2036, allocations: 28 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.2036, allocations: 28 kB / 0.836 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.2038, allocations: 115.7 kB / 0.8361 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.204, allocations: 187 kB / 0.8363 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.2044, allocations: 426.6 kB / 0.8367 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2044, allocations: 0 / 0.8367 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2044, allocations: 4 kB / 0.8367 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.2045, allocations: 0 / 0.8367 GB, free: 4.504 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.001252/0.2057, allocations: 0.799 MB / 0.8375 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2058, allocations: 9.938 kB / 0.8375 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.2058, allocations: 38.73 kB / 0.8376 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2059, allocations: 56.7 kB / 0.8376 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.2064, allocations: 264.6 kB / 0.8379 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.2064, allocations: 16.36 kB / 0.8379 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.2065, allocations: 32.38 kB / 0.8379 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.2074, allocations: 215.4 kB / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2074, allocations: 3.938 kB / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2074, allocations: 0 / 0.8381 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2074, allocations: 3.984 kB / 0.8381 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.2081, allocations: 107.9 kB / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2086, allocations: 356.4 kB / 0.8386 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.2095, allocations: 162.5 kB / 0.8387 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.2102, allocations: 108.8 kB / 0.8388 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2102, allocations: 3.938 kB / 0.8388 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000918/0.2111, allocations: 231 kB / 0.8391 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.2111, allocations: 4 kB / 0.8391 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002467/0.2136, allocations: 487.6 kB / 0.8395 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2137, allocations: 63.39 kB / 0.8396 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.2141, allocations: 405.9 kB / 0.84 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.2142, allocations: 45.69 kB / 0.84 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.2143, allocations: 85.45 kB / 0.8401 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.2143, allocations: 43.69 kB / 0.8401 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2145, allocations: 129.4 kB / 0.8403 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2147, allocations: 326.8 kB / 0.8406 GB, free: 356 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2149, allocations: 115.9 kB / 0.8407 GB, free: 240 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.2152, allocations: 167.2 kB / 0.8408 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.2157, allocations: 276.4 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2157, allocations: 3.938 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008157/0.2165, allocations: 0.4889 MB / 0.8416 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.2166, allocations: 91.5 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2166, allocations: 4 kB / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2166, allocations: 0 / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2168, allocations: 27.92 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.2168, allocations: 4 kB / 0.8417 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.2173, allocations: 59.78 kB / 0.8418 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.2173, allocations: 59.97 kB / 0.8418 GB, free: 14.98 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.0002334/0.2176, allocations: 196.4 kB / 0.842 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.2176, allocations: 43.7 kB / 0.8421 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.2177, allocations: 35.69 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2177, allocations: 7.984 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2177, allocations: 0 / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2177, allocations: 0 / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2199, allocations: 0.72 MB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2199, allocations: 0 / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.22, allocations: 7.938 kB / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.22, allocations: 0 / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.22, allocations: 23.97 kB / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.22, allocations: 0 / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.22, allocations: 4 kB / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.2216, allocations: 478.7 kB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.2219, allocations: 141.5 kB / 0.8434 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.222, allocations: 12 kB / 0.8434 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.2224, allocations: 31.97 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.2225, allocations: 11.92 kB / 0.8435 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.2225, allocations: 59.97 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003002/0.2228, allocations: 295.1 kB / 0.8438 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2228, allocations: 0 / 0.8438 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000379/0.2232, allocations: 71.92 kB / 0.8439 GB, free: 12.8 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.001989/0.2252, allocations: 1.02 MB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.2264, allocations: 398.5 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2264, allocations: 0 / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.2271, allocations: 120.2 kB / 0.8454 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2275, allocations: 21.64 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.00424/0.2318, allocations: 2.8 MB / 0.8481 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.2322, allocations: 0.7669 MB / 0.8489 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.2323, allocations: 13.09 kB / 0.8489 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.2323, allocations: 23.42 kB / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.2323, allocations: 0 / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.267, allocations: 6.37 MB / 0.8551 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.9, allocations: 3.984 kB / 0.8551 GB, free: 1.117 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.401271732996975] Failed to read output from testmodel.py, exit status != 0: 10.999848886000109 11.016141279 10.808553603 Calling exit ...