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.001329/0.001329, 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.001621/0.001621, allocations: 215.5 kB / 22.25 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.797 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.002696/0.002696, allocations: 285.7 kB / 312.7 MB, free: 2.613 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.348/1.348, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.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.002954/0.002954, allocations: 105.8 kB / 0.7395 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1745, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002806/0.1773, allocations: 1.518 MB / 0.8341 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1786, allocations: 0.5421 MB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1786, allocations: 0 / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.024e-05/0.1787, allocations: 7.875 kB / 0.8347 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1788, allocations: 35.78 kB / 0.8347 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.1796, allocations: 310.2 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.1801, allocations: 491.4 kB / 0.8355 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1801, allocations: 7.938 kB / 0.8355 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.1805, allocations: 267.7 kB / 0.8357 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.1808, allocations: 131.6 kB / 0.8358 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.1809, allocations: 28 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.181, allocations: 28 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1811, allocations: 115.7 kB / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1813, allocations: 159.2 kB / 0.8362 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.1817, allocations: 438.6 kB / 0.8366 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1817, allocations: 4 kB / 0.8366 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1817, allocations: 0 / 0.8366 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.1818, allocations: 0 / 0.8366 GB, free: 4.289 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.001189/0.1829, allocations: 0.7911 MB / 0.8373 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.183, allocations: 17.33 kB / 0.8374 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.183, allocations: 34.75 kB / 0.8374 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1831, allocations: 52.7 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.1836, allocations: 260.7 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.1836, allocations: 12.36 kB / 0.8377 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.1837, allocations: 32.38 kB / 0.8377 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.1846, allocations: 217.9 kB / 0.8379 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1846, allocations: 3.938 kB / 0.838 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.1846, allocations: 8 kB / 0.838 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1846, allocations: 4 kB / 0.838 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.1854, allocations: 99.91 kB / 0.8381 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.1858, allocations: 300.5 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.1867, allocations: 166.5 kB / 0.8385 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.1874, allocations: 112.7 kB / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1875, allocations: 0 / 0.8386 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009178/0.1884, allocations: 227 kB / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1884, allocations: 0 / 0.8388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.00246/0.1909, allocations: 491.3 kB / 0.8393 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.1909, allocations: 63.39 kB / 0.8394 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.1913, allocations: 405.9 kB / 0.8397 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.1914, allocations: 41.69 kB / 0.8398 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.1915, allocations: 101.4 kB / 0.8399 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.1915, allocations: 39.69 kB / 0.8399 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1917, allocations: 129.5 kB / 0.84 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1918, allocations: 318.8 kB / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.1922, allocations: 199.2 kB / 0.8405 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.1926, allocations: 242.6 kB / 0.8408 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.193, allocations: 275.8 kB / 0.841 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.193, allocations: 0 / 0.841 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009824/0.194, allocations: 0.5508 MB / 0.8416 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.1941, allocations: 83.31 kB / 0.8416 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1941, allocations: 4 kB / 0.8417 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1941, allocations: 0 / 0.8417 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1942, allocations: 27.91 kB / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1942, allocations: 8.188 kB / 0.8417 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.1947, allocations: 59.78 kB / 0.8417 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.1948, allocations: 59.98 kB / 0.8418 GB, free: 14.59 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.0002214/0.195, allocations: 192.4 kB / 0.842 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.1951, allocations: 43.69 kB / 0.842 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.1951, allocations: 39.69 kB / 0.8421 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1951, allocations: 8 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1952, allocations: 0 / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1952, allocations: 0 / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1973, allocations: 0.7043 MB / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1973, allocations: 0 / 0.8428 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1974, allocations: 8 kB / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1974, allocations: 0 / 0.8428 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.1974, allocations: 23.97 kB / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1974, allocations: 0 / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1974, allocations: 0 / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1991, allocations: 493.7 kB / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.1994, allocations: 133.5 kB / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.1995, allocations: 12 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.2, allocations: 33.22 kB / 0.8434 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.2, allocations: 7.984 kB / 0.8434 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/0.2001, allocations: 59.97 kB / 0.8435 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000356/0.2004, allocations: 299 kB / 0.8438 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2004, allocations: 3.938 kB / 0.8438 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003647/0.2008, allocations: 63.98 kB / 0.8438 GB, free: 12.42 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.002161/0.203, allocations: 1.032 MB / 0.8449 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.2044, allocations: 477.1 kB / 0.8453 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2044, allocations: 0 / 0.8453 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.2051, allocations: 115.8 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.000414/0.2056, allocations: 29.95 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.004822/0.2104, allocations: 3.088 MB / 0.8485 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2106, allocations: 163 kB / 0.8486 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.2107, allocations: 17.08 kB / 0.8486 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.2107, allocations: 19.42 kB / 0.8487 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of SimCode: time 1.283e-06/0.2107, allocations: 4 kB / 0.8487 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.247, allocations: 7.985 MB / 0.8565 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.49, allocations: 14.61 kB / 0.8565 GB, free: 15.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.921394386794418] Failed to read output from testmodel.py, exit status != 0: 11.602453828789294 11.631405546 11.444628095 Calling exit ...