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.0009041/0.0009041, allocations: 80.94 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.0009554/0.0009554, allocations: 173.4 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 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.001912/0.001912, allocations: 250.3 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.6714/0.6714, allocations: 138.4 MB / 402.2 MB, free: 0.4922 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.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.264e-06/2.264e-06, allocations: 0 / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.028e-05, allocations: 2.312 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003376/0.003406, allocations: 1.563 MB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.004937, allocations: 0.5436 MB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.005012, allocations: 1.531 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.005127, allocations: 5.859 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.005278, allocations: 32.36 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.006363, allocations: 326.4 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.007105, allocations: 487 kB / 465.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.007155, allocations: 16.8 kB / 465.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.007827, allocations: 357.7 kB / 465.6 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.008238, allocations: 136.5 kB / 465.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.008355, allocations: 26.53 kB / 465.7 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.008424, allocations: 27.22 kB / 465.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.008572, allocations: 116.6 kB / 465.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.008781, allocations: 133.6 kB / 466 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.009276, allocations: 377.3 kB / 466.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.009281, allocations: 4 kB / 466.4 MB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.009282, allocations: 0 / 466.4 MB, free: 14.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.009289, allocations: 0.5 kB / 466.4 MB, free: 14.58 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.001103/0.01039, allocations: 0.7348 MB / 467.1 MB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01043, allocations: 17.3 kB / 467.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.01056, allocations: 45.47 kB / 467.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.01089, allocations: 236 kB / 467.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.01094, allocations: 17.92 kB / 467.4 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.01101, allocations: 28.38 kB / 467.5 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.01148, allocations: 186.6 kB / 467.6 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.01149, allocations: 1.531 kB / 467.6 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.01152, allocations: 4.375 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.01153, allocations: 4.312 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01165, allocations: 50.38 kB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.01189, allocations: 114.3 kB / 467.8 MB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.01212, allocations: 92.16 kB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01224, allocations: 50.39 kB / 467.9 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.01226, allocations: 4 kB / 468 MB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.01248, allocations: 152.9 kB / 468.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.01248, allocations: 0 / 468.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004637/0.01294, allocations: 200 kB / 468.3 MB, free: 12.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.01299, allocations: 64.05 kB / 468.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01327, allocations: 328.2 kB / 468.7 MB, free: 12.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.01332, allocations: 37.7 kB / 468.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.01338, allocations: 97.42 kB / 468.8 MB, free: 12.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.01343, allocations: 40.47 kB / 468.8 MB, free: 12.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.01359, allocations: 117.4 kB / 469 MB, free: 11.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01374, allocations: 331.5 kB / 469.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.01396, allocations: 157 kB / 469.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.01416, allocations: 206 kB / 469.6 MB, free: 11.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.01442, allocations: 245.8 kB / 469.9 MB, free: 10.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.01442, allocations: 10.12 kB / 469.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004724/0.0149, allocations: 433.2 kB / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.01496, allocations: 79.38 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01497, allocations: 0.8438 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01498, allocations: 4 kB / 470.4 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01513, allocations: 37.44 kB / 470.4 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01513, allocations: 4 kB / 470.4 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.01537, allocations: 48.55 kB / 470.5 MB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.01543, allocations: 56.78 kB / 470.5 MB, free: 10.2 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.0001376/0.01557, allocations: 141.1 kB / 470.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.01562, allocations: 31.97 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.01567, allocations: 28.62 kB / 470.7 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01568, allocations: 4 kB / 470.7 MB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01568, allocations: 0.5625 kB / 470.7 MB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01568, allocations: 0 / 470.7 MB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.01635, allocations: 383.9 kB / 471.1 MB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01635, allocations: 2.094 kB / 471.1 MB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.01638, allocations: 8 kB / 471.1 MB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01638, allocations: 7.984 kB / 471.1 MB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.01641, allocations: 3.984 kB / 471.1 MB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01641, allocations: 0 / 471.1 MB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01641, allocations: 4 kB / 471.1 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.01671, allocations: 243.2 kB / 471.4 MB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.0169, allocations: 129.8 kB / 471.5 MB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.01695, allocations: 8.5 kB / 471.5 MB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.01713, allocations: 27.97 kB / 471.5 MB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.01716, allocations: 20.77 kB / 471.6 MB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.01722, allocations: 48.47 kB / 471.6 MB, free: 9.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.01734, allocations: 140.7 kB / 471.7 MB, free: 8.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01734, allocations: 1.031 kB / 471.7 MB, free: 8.973 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.01763, allocations: 67.98 kB / 471.8 MB, free: 8.906 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.0001347/0.01776, allocations: 93.31 kB / 471.9 MB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.01825, allocations: 401.5 kB / 472.3 MB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01826, allocations: 4 kB / 472.3 MB, free: 8.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.01837, allocations: 69.47 kB / 472.4 MB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01864, allocations: 38.16 kB / 472.4 MB, free: 8.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.01943, allocations: 469.1 kB / 472.9 MB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.01949, allocations: 87.8 kB / 473 MB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.01954, allocations: 10.5 kB / 473 MB, free: 7.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.01974, allocations: 120 kB / 473.1 MB, free: 7.574 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01975, allocations: 0 / 473.1 MB, free: 7.574 MB / 426.7 MB Notification: Performance of Templates: time 0.01692/0.03666, allocations: 5.342 MB / 478.4 MB, free: 2.48 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.724627543706447]