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.001162/0.001162, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002843, allocations: 435.8 kB / 10.33 MB, free: 368 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.001174/0.001174, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002623, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.129, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.001306/0.001306, allocations: 240.9 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009645/0.00227, allocations: 467 kB / 244.7 MB, free: 14.19 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.6972/0.6972, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0903/0.7875, allocations: 42.4 MB / 426.5 MB, free: 5.969 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 2.004e-06/2.004e-06, allocations: 0 / 427.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.643e-05, allocations: 2.312 kB / 427.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002645/0.002662, allocations: 1.615 MB / 429.4 MB, free: 3.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003793, allocations: 0.5536 MB / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.003851, allocations: 4 kB / 429.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.003899, allocations: 7.938 kB / 429.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.003997, allocations: 31.78 kB / 430 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.004692, allocations: 327.1 kB / 430.3 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.00525, allocations: 499.4 kB / 430.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.005287, allocations: 7.938 kB / 430.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.005777, allocations: 375.6 kB / 431.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.006051, allocations: 127.8 kB / 431.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.00612, allocations: 28 kB / 431.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.006184, allocations: 28 kB / 431.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.006289, allocations: 99.7 kB / 431.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.006423, allocations: 103.8 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.006797, allocations: 331 kB / 431.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.006812, allocations: 0 / 431.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006813, allocations: 4 kB / 431.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.006832, allocations: 0 / 431.9 MB, free: 0.5547 MB / 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.195/0.2018, allocations: 0.816 MB / 432.7 MB, free: 3.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2019, allocations: 10.12 kB / 432.7 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.202, allocations: 48.45 kB / 432.7 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2022, allocations: 229.4 kB / 433 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.2022, allocations: 18.81 kB / 433 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.2023, allocations: 27.41 kB / 433 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.2027, allocations: 187.7 kB / 433.2 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2027, allocations: 192 / 433.2 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2027, allocations: 8.125 kB / 433.2 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-06/0.2027, allocations: 2.375 kB / 433.2 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.2028, allocations: 37.89 kB / 433.2 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2029, allocations: 114.4 kB / 433.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.2031, allocations: 93.47 kB / 433.4 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.2031, allocations: 46.16 kB / 433.5 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2032, allocations: 5.891 kB / 433.5 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.2033, allocations: 151.8 kB / 433.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2033, allocations: 0 / 433.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003153/0.2036, allocations: 205.3 kB / 433.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2037, allocations: 59.27 kB / 433.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.2039, allocations: 328.2 kB / 434.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2039, allocations: 43.5 kB / 434.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.2039, allocations: 93.19 kB / 434.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.204, allocations: 40.16 kB / 434.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2041, allocations: 112.6 kB / 434.5 MB, free: 2.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.2041, allocations: 327.4 kB / 434.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2042, allocations: 154.1 kB / 435 MB, free: 2.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2044, allocations: 204.2 kB / 435.2 MB, free: 1.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2046, allocations: 248.5 kB / 435.4 MB, free: 1.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2046, allocations: 0 / 435.4 MB, free: 1.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003296/0.2049, allocations: 429.5 kB / 435.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.2049, allocations: 83.11 kB / 435.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2049, allocations: 2.562 kB / 435.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.205, allocations: 2.75 kB / 435.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2051, allocations: 44.91 kB / 436 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2051, allocations: 4.266 kB / 436 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.2052, allocations: 49.05 kB / 436 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.2053, allocations: 53.52 kB / 436.1 MB, free: 1.555 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 9.073e-05/0.2054, allocations: 142.5 kB / 436.2 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.2054, allocations: 26.81 kB / 436.2 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.2055, allocations: 33.89 kB / 436.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2055, allocations: 3 kB / 436.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2055, allocations: 1.281 kB / 436.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2055, allocations: 1.172 kB / 436.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.2059, allocations: 382 kB / 436.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2059, allocations: 0 / 436.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.2059, allocations: 12.02 kB / 436.7 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.206, allocations: 115.4 kB / 436.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.206, allocations: 2.406 kB / 436.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.206, allocations: 12.38 kB / 436.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.206, allocations: 7.391 kB / 436.8 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.206, allocations: 0.7656 kB / 436.8 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2062, allocations: 244.8 kB / 437 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2063, allocations: 10.03 kB / 437 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2065, allocations: 33.91 kB / 437.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.2065, allocations: 11.34 kB / 437.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.2065, allocations: 45.78 kB / 437.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2066, allocations: 142.7 kB / 437.3 MB, free: 1.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2066, allocations: 0.5469 kB / 437.3 MB, free: 1.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.2068, allocations: 66.09 kB / 437.3 MB, free: 1.043 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 8.629e-05/0.2069, allocations: 99.12 kB / 437.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.2073, allocations: 391.5 kB / 437.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.2073, allocations: 6.344 kB / 437.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.2074, allocations: 67.05 kB / 437.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2076, allocations: 69.31 kB / 437.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.2084, allocations: 464.5 kB / 438.4 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.2084, allocations: 85 kB / 438.5 MB, free: 436 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.2085, allocations: 16.86 kB / 438.5 MB, free: 436 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2086, allocations: 120.4 kB / 438.6 MB, free: 392 kB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2086, allocations: 1.406 kB / 438.6 MB, free: 392 kB / 410.7 MB Notification: Performance of Templates: time 0.007583/0.2162, allocations: 5.394 MB / 444 MB, free: 14.79 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.5608775597065687]