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.0006441/0.0006441, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000867/0.001511, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006706/0.0006706, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001579, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9771/0.9771, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08818/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 234.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002922, allocations: 483.1 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7361/0.7361, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0656/0.8017, allocations: 42.4 MB / 426.7 MB, free: 5.844 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 428 MB, free: 4.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.196e-05, allocations: 2.312 kB / 428 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001753/0.001765, allocations: 1.631 MB / 429.7 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.002605, allocations: 0.5536 MB / 430.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.002654, allocations: 0 / 430.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.002702, allocations: 11.92 kB / 430.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.002786, allocations: 23.86 kB / 430.2 MB, free: 2.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.003286, allocations: 331.2 kB / 430.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.003665, allocations: 491.5 kB / 431 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.003698, allocations: 11.97 kB / 431.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.004052, allocations: 375.6 kB / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.004245, allocations: 135.7 kB / 431.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.004298, allocations: 24 kB / 431.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.004351, allocations: 28 kB / 431.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.004437, allocations: 111.7 kB / 431.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.004528, allocations: 95.81 kB / 431.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.004781, allocations: 331 kB / 432.1 MB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.004792, allocations: 3.984 kB / 432.1 MB, free: 400 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004793, allocations: 0 / 432.1 MB, free: 400 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.004803, allocations: 0 / 432.1 MB, free: 400 kB / 410.7 MB 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.1986/0.2034, allocations: 0.8172 MB / 433 MB, free: 2.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2034, allocations: 10.75 kB / 433 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2035, allocations: 46.39 kB / 433 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2038, allocations: 236.5 kB / 433.2 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.2038, allocations: 18.09 kB / 433.3 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.2039, allocations: 27.55 kB / 433.3 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.2042, allocations: 176.6 kB / 433.5 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2043, allocations: 3.469 kB / 433.5 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2043, allocations: 2.359 kB / 433.5 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2043, allocations: 4.047 kB / 433.5 MB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.2044, allocations: 41.83 kB / 433.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.2045, allocations: 109.8 kB / 433.6 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2047, allocations: 97.39 kB / 433.7 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.2048, allocations: 42.92 kB / 433.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2048, allocations: 7.031 kB / 433.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.205, allocations: 148.9 kB / 433.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.205, allocations: 0 / 433.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003254/0.2053, allocations: 205.8 kB / 434.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.2053, allocations: 59.03 kB / 434.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2055, allocations: 332.2 kB / 434.5 MB, free: 2.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2055, allocations: 43.31 kB / 434.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.2056, allocations: 92.31 kB / 434.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.2056, allocations: 40.73 kB / 434.7 MB, free: 2.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2057, allocations: 110.4 kB / 434.8 MB, free: 2.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.2058, allocations: 328.2 kB / 435.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2059, allocations: 156.1 kB / 435.2 MB, free: 1.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.2061, allocations: 206.2 kB / 435.4 MB, free: 1.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2063, allocations: 244.3 kB / 435.7 MB, free: 1.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2063, allocations: 0 / 435.7 MB, free: 1.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003589/0.2066, allocations: 429.2 kB / 436.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.2067, allocations: 82.05 kB / 436.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2067, allocations: 2.719 kB / 436.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2067, allocations: 3.406 kB / 436.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2069, allocations: 43.12 kB / 436.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2069, allocations: 6.047 kB / 436.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.207, allocations: 41.86 kB / 436.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.2071, allocations: 55.47 kB / 436.3 MB, free: 1.254 MB / 410.7 MB 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.0001186/0.2072, allocations: 143.5 kB / 436.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.2073, allocations: 25.84 kB / 436.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.2073, allocations: 36.75 kB / 436.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2073, allocations: 1.438 kB / 436.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2073, allocations: 0 / 436.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2073, allocations: 5.172 kB / 436.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.2078, allocations: 381 kB / 436.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2078, allocations: 0 / 436.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.2078, allocations: 10.03 kB / 436.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2079, allocations: 123.5 kB / 437 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2079, allocations: 2.562 kB / 437 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.208, allocations: 13.73 kB / 437.1 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.208, allocations: 6.719 kB / 437.1 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.208, allocations: 0 / 437.1 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.2082, allocations: 235.4 kB / 437.3 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.2082, allocations: 12.95 kB / 437.3 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2084, allocations: 28.66 kB / 437.3 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.2084, allocations: 18.94 kB / 437.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.2085, allocations: 46.84 kB / 437.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.2086, allocations: 137.9 kB / 437.5 MB, free: 0.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 437.5 MB, free: 0.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.2088, allocations: 67.53 kB / 437.6 MB, free: 0.75 MB / 410.7 MB 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.0001093/0.2089, allocations: 101 kB / 437.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.2094, allocations: 404.5 kB / 438.1 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.2094, allocations: 6.75 kB / 438.1 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.2095, allocations: 64.12 kB / 438.2 MB, free: 16.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2097, allocations: 118.7 kB / 438.3 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009032/0.2106, allocations: 473.2 kB / 438.7 MB, free: 16.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.2107, allocations: 86.45 kB / 438.8 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.2107, allocations: 15.09 kB / 438.8 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.2109, allocations: 117.8 kB / 439 MB, free: 16.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2109, allocations: 0 / 439 MB, free: 16.03 MB / 426.7 MB Notification: Performance of Templates: time 0.007849/0.2187, allocations: 5.361 MB / 444.3 MB, free: 14.42 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4592364877462387]