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.001534/0.001534, 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.001752/0.001752, allocations: 213.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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.793 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.00251/0.00251, allocations: 289.9 kB / 312.7 MB, free: 2.598 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.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002917/0.002917, allocations: 103.1 kB / 0.74 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1841, allocations: 95.38 MB / 0.8331 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002696/0.1868, allocations: 1.532 MB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.188, allocations: 0.5283 MB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.1881, allocations: 4 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.1882, allocations: 11.86 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1883, allocations: 27.84 kB / 0.8352 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.1891, allocations: 317.4 kB / 0.8355 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.1896, allocations: 483.5 kB / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.1896, allocations: 4 kB / 0.8359 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.19, allocations: 279.6 kB / 0.8362 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.1903, allocations: 140.9 kB / 0.8363 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/0.1903, allocations: 24 kB / 0.8364 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.1904, allocations: 28 kB / 0.8364 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1906, allocations: 111.7 kB / 0.8365 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1907, allocations: 159.2 kB / 0.8366 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1912, allocations: 430.4 kB / 0.837 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1912, allocations: 3.938 kB / 0.837 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1912, allocations: 0 / 0.837 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1912, allocations: 0 / 0.837 GB, free: 3.797 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.001182/0.1924, allocations: 0.7989 MB / 0.8378 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1924, allocations: 13.94 kB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1925, allocations: 48.7 kB / 0.8379 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.193, allocations: 260.7 kB / 0.8381 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.193, allocations: 12.38 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.1931, allocations: 28.36 kB / 0.8382 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/0.194, allocations: 214 kB / 0.8384 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.194, allocations: 4.188 kB / 0.8384 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1941, allocations: 7.938 kB / 0.8384 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1941, allocations: 3.938 kB / 0.8384 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.1948, allocations: 103.9 kB / 0.8385 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1952, allocations: 281.1 kB / 0.8388 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.1961, allocations: 166.5 kB / 0.8389 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.1968, allocations: 96.78 kB / 0.839 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1968, allocations: 11.92 kB / 0.839 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.1977, allocations: 231.1 kB / 0.8392 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/0.1977, allocations: 0 / 0.8392 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002383/0.2001, allocations: 499.2 kB / 0.8397 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2002, allocations: 55.41 kB / 0.8398 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.2006, allocations: 409.9 kB / 0.8402 GB, free: 432 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.2007, allocations: 41.69 kB / 0.8402 GB, free: 384 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.2008, allocations: 93.44 kB / 0.8403 GB, free: 288 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.2008, allocations: 39.69 kB / 0.8403 GB, free: 248 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.201, allocations: 129.5 kB / 0.8405 GB, free: 112 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2012, allocations: 318.8 kB / 0.8408 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.2015, allocations: 195.3 kB / 0.8409 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.2019, allocations: 250.5 kB / 0.8412 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2023, allocations: 271.7 kB / 0.8414 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2023, allocations: 0 / 0.8414 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008797/0.2032, allocations: 0.5508 MB / 0.842 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/0.2032, allocations: 81.25 kB / 0.8421 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2032, allocations: 0 / 0.8421 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2033, allocations: 7.938 kB / 0.8421 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2034, allocations: 27.97 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2034, allocations: 7.922 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.2039, allocations: 67.94 kB / 0.8422 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.204, allocations: 59.98 kB / 0.8422 GB, free: 14.17 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.0002369/0.2042, allocations: 196.4 kB / 0.8424 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2043, allocations: 35.77 kB / 0.8424 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.2043, allocations: 43.62 kB / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2043, allocations: 4 kB / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2043, allocations: 0 / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2043, allocations: 3.984 kB / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.2064, allocations: 0.6739 MB / 0.8432 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2065, allocations: 3.938 kB / 0.8432 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.2065, allocations: 7.938 kB / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2065, allocations: 0 / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.2065, allocations: 23.97 kB / 0.8432 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2065, allocations: 4 kB / 0.8432 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2065, allocations: 4 kB / 0.8432 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2082, allocations: 475.5 kB / 0.8436 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.2085, allocations: 137.5 kB / 0.8438 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.2086, allocations: 15.92 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.209, allocations: 35.97 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2091, allocations: 7.984 kB / 0.8438 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.2091, allocations: 59.97 kB / 0.8439 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003496/0.2095, allocations: 295.1 kB / 0.8442 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2095, allocations: 0 / 0.8442 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003931/0.2099, allocations: 71.92 kB / 0.8442 GB, free: 12.04 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.0001811/0.2101, allocations: 121.3 kB / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.2114, allocations: 480.7 kB / 0.8448 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2114, allocations: 3.938 kB / 0.8448 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.212, allocations: 103.9 kB / 0.8449 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.2124, allocations: 32.53 kB / 0.845 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2139, allocations: 0.5591 MB / 0.8455 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.2141, allocations: 166.9 kB / 0.8457 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.957e-05/0.2141, allocations: 9.094 kB / 0.8457 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2142, allocations: 27.36 kB / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.2142, allocations: 0 / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.01041/0.2246, allocations: 6.089 MB / 0.8516 GB, free: 4.352 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.929417576640844] Failed to read output from testmodel.py, exit status != 0: 0.23183205723762512 0.24709914899999996 0.052913676999999944 Calling exit ...