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.001102/0.001102, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001498/0.001498, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9407/0.9407, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 249.7 kB / 260.5 MB, free: 12.71 MB / 250.7 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 0.6884/0.6884, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.9844 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.544e-05, allocations: 5.297 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003088/0.003113, allocations: 1.56 MB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004576, allocations: 0.5441 MB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.004649, allocations: 1.75 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.004753, allocations: 7.688 kB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.004888, allocations: 25.55 kB / 464.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.005877, allocations: 327.8 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.006622, allocations: 496.5 kB / 465.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.00667, allocations: 8.25 kB / 465.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.007325, allocations: 357.1 kB / 465.6 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.007717, allocations: 136.3 kB / 465.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.007792, allocations: 28.22 kB / 465.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.007855, allocations: 27.03 kB / 465.8 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.007965, allocations: 113.1 kB / 465.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.008096, allocations: 135.8 kB / 466 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.008427, allocations: 380.8 kB / 466.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.008432, allocations: 0 / 466.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008433, allocations: 2.594 kB / 466.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.008437, allocations: 0 / 466.4 MB, free: 14.59 MB / 426.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.0007692/0.009206, allocations: 0.7375 MB / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.009237, allocations: 12.75 kB / 467.1 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.009314, allocations: 48.25 kB / 467.2 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.009544, allocations: 236 kB / 467.4 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.009578, allocations: 20.36 kB / 467.4 MB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.009626, allocations: 24.38 kB / 467.5 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.009956, allocations: 188.7 kB / 467.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.009965, allocations: 1.125 kB / 467.6 MB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.009983, allocations: 8.312 kB / 467.7 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.009988, allocations: 0.9062 kB / 467.7 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.01006, allocations: 48.94 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.01023, allocations: 112.9 kB / 467.8 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01038, allocations: 96.64 kB / 467.9 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.01045, allocations: 42.38 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01047, allocations: 4 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.01062, allocations: 156.3 kB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.01062, allocations: 0.75 kB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003117/0.01093, allocations: 201.5 kB / 468.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.01097, allocations: 63.39 kB / 468.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01115, allocations: 332.2 kB / 468.7 MB, free: 12.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.01118, allocations: 37.7 kB / 468.7 MB, free: 12.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.01123, allocations: 94.58 kB / 468.8 MB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.01126, allocations: 39.72 kB / 468.9 MB, free: 12.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01136, allocations: 113.4 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.01143, allocations: 331.2 kB / 469.3 MB, free: 11.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.01158, allocations: 160.1 kB / 469.4 MB, free: 11.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.01172, allocations: 206 kB / 469.6 MB, free: 11.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.01189, allocations: 251.6 kB / 469.9 MB, free: 10.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0119, allocations: 4 kB / 469.9 MB, free: 10.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003296/0.01223, allocations: 430.7 kB / 470.3 MB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.01228, allocations: 83.38 kB / 470.4 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01229, allocations: 4.734 kB / 470.4 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01231, allocations: 4 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01242, allocations: 33.17 kB / 470.4 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01243, allocations: 4 kB / 470.4 MB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.01259, allocations: 48.89 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.01264, allocations: 55.91 kB / 470.5 MB, free: 10.21 MB / 426.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.0001336/0.01277, allocations: 142.5 kB / 470.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.01281, allocations: 34.94 kB / 470.7 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.01285, allocations: 27.69 kB / 470.7 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01286, allocations: 4 kB / 470.7 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01286, allocations: 0 / 470.7 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01287, allocations: 0.875 kB / 470.7 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.01332, allocations: 385.6 kB / 471.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01332, allocations: 0.6875 kB / 471.1 MB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.01335, allocations: 7.984 kB / 471.1 MB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01335, allocations: 5.281 kB / 471.1 MB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.01337, allocations: 7.984 kB / 471.1 MB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01337, allocations: 4 kB / 471.2 MB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01337, allocations: 1.812 kB / 471.2 MB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.01358, allocations: 233.8 kB / 471.4 MB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.01372, allocations: 127.4 kB / 471.5 MB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.01377, allocations: 15.94 kB / 471.5 MB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.01394, allocations: 30.12 kB / 471.6 MB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.01396, allocations: 11.92 kB / 471.6 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.01399, allocations: 51.97 kB / 471.6 MB, free: 9.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.853e-05/0.01408, allocations: 141.9 kB / 471.8 MB, free: 8.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01408, allocations: 0 / 471.8 MB, free: 8.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.01427, allocations: 67.98 kB / 471.8 MB, free: 8.918 MB / 426.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.0001165/0.01439, allocations: 94 kB / 471.9 MB, free: 8.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01477, allocations: 398.8 kB / 472.3 MB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01477, allocations: 4 kB / 472.3 MB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.01485, allocations: 70.77 kB / 472.4 MB, free: 8.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.01504, allocations: 43.41 kB / 472.4 MB, free: 8.289 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.01568, allocations: 463.7 kB / 472.9 MB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.769e-05/0.01573, allocations: 84.75 kB / 473 MB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.01577, allocations: 15.45 kB / 473 MB, free: 7.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.01593, allocations: 119 kB / 473.1 MB, free: 7.586 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01593, allocations: 1.375 kB / 473.1 MB, free: 7.586 MB / 426.7 MB Notification: Performance of Templates: time 0.006153/0.02209, allocations: 5.342 MB / 478.4 MB, free: 2.484 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.672658398747444]