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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001815/0.001815, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.742 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.002505/0.002505, allocations: 296.4 kB / 312.7 MB, free: 2.57 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.298/1.298, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.002874/0.002874, allocations: 99.41 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1803, allocations: 95.39 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002715/0.183, allocations: 1.531 MB / 0.8341 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1842, allocations: 0.532 MB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.1843, allocations: 0 / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.897e-05/0.1844, allocations: 11.86 kB / 0.8346 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1845, allocations: 27.86 kB / 0.8347 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.1852, allocations: 315.3 kB / 0.835 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.1858, allocations: 487.4 kB / 0.8354 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1858, allocations: 7.938 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.1862, allocations: 279.7 kB / 0.8357 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1865, allocations: 131.6 kB / 0.8358 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.1866, allocations: 24 kB / 0.8359 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.1866, allocations: 28 kB / 0.8359 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1868, allocations: 119.6 kB / 0.836 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.187, allocations: 159.3 kB / 0.8362 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.1874, allocations: 430.6 kB / 0.8366 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1874, allocations: 0 / 0.8366 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1874, allocations: 0 / 0.8366 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1874, allocations: 4 kB / 0.8366 GB, free: 4.281 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.001219/0.1886, allocations: 0.7963 MB / 0.8373 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1887, allocations: 13.34 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.1887, allocations: 34.75 kB / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1888, allocations: 56.64 kB / 0.8374 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.1893, allocations: 256.8 kB / 0.8377 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.1893, allocations: 16.36 kB / 0.8377 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.1894, allocations: 32.3 kB / 0.8377 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.1904, allocations: 218.8 kB / 0.8379 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1904, allocations: 3.938 kB / 0.838 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.1904, allocations: 4 kB / 0.838 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1904, allocations: 4 kB / 0.838 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.1911, allocations: 99.91 kB / 0.8381 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1915, allocations: 296.5 kB / 0.8383 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.1925, allocations: 174.4 kB / 0.8385 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.1932, allocations: 101.4 kB / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1932, allocations: 4 kB / 0.8386 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009328/0.1942, allocations: 231 kB / 0.8388 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1942, allocations: 0 / 0.8388 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002412/0.1966, allocations: 487.6 kB / 0.8393 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.1967, allocations: 63.39 kB / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.1971, allocations: 405.9 kB / 0.8397 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.1972, allocations: 41.69 kB / 0.8398 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1973, allocations: 101.4 kB / 0.8399 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1973, allocations: 39.7 kB / 0.8399 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1975, allocations: 133.5 kB / 0.84 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1977, allocations: 322.8 kB / 0.8403 GB, free: 192 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.198, allocations: 191.3 kB / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1983, allocations: 246.5 kB / 0.8408 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.1987, allocations: 267.3 kB / 0.841 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1987, allocations: 4 kB / 0.841 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000932/0.1997, allocations: 0.5469 MB / 0.8416 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.1997, allocations: 83.31 kB / 0.8416 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1997, allocations: 4 kB / 0.8416 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1998, allocations: 4 kB / 0.8416 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1999, allocations: 27.91 kB / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1999, allocations: 4 kB / 0.8417 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.2004, allocations: 63.97 kB / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.2005, allocations: 59.98 kB / 0.8418 GB, free: 14.58 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.0002224/0.2007, allocations: 196.4 kB / 0.842 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.2008, allocations: 43.69 kB / 0.842 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.2008, allocations: 39.69 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2008, allocations: 4 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2008, allocations: 0 / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2008, allocations: 4 kB / 0.8421 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.203, allocations: 0.7043 MB / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.203, allocations: 0 / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.203, allocations: 4 kB / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.203, allocations: 7.984 kB / 0.8428 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.2031, allocations: 23.92 kB / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2031, allocations: 4 kB / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2031, allocations: 0 / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2047, allocations: 489.5 kB / 0.8433 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.205, allocations: 133.5 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.2051, allocations: 12 kB / 0.8434 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.2055, allocations: 27.97 kB / 0.8434 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2056, allocations: 11.97 kB / 0.8434 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.2056, allocations: 55.98 kB / 0.8435 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003223/0.206, allocations: 303 kB / 0.8438 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.206, allocations: 0 / 0.8438 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003502/0.2063, allocations: 67.98 kB / 0.8438 GB, free: 12.41 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.002066/0.2084, allocations: 1.024 MB / 0.8448 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.2097, allocations: 473.9 kB / 0.8453 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2097, allocations: 0 / 0.8453 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.2104, allocations: 118.6 kB / 0.8454 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.2107, allocations: 28.27 kB / 0.8454 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.216, allocations: 3.094 MB / 0.8485 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2162, allocations: 163 kB / 0.8486 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.2162, allocations: 13.08 kB / 0.8486 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.2163, allocations: 27.42 kB / 0.8487 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.2163, allocations: 0 / 0.8487 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.2552, allocations: 7.995 MB / 0.8565 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.5, allocations: 10.39 kB / 0.8565 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 648] (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.919406209141016] Failed to read output from testmodel.py, exit status != 0: 11.61380843212828 11.640875885 11.448686786 Calling exit ...