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.001301/0.001301, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.001353/0.001353, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.343/1.343, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.00234/0.00234, allocations: 237.2 kB / 260 MB, free: 444 kB / 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 0.8807/0.8807, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.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: 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.003063/0.003063, allocations: 102.5 kB / 0.6473 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3889, allocations: 95.34 MB / 0.7404 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002213/0.3911, allocations: 1.524 MB / 0.7419 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3922, allocations: 0.5381 MB / 0.7424 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.3923, allocations: 0 / 0.7424 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.3924, allocations: 10.97 kB / 0.7425 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.3925, allocations: 30.28 kB / 0.7425 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.3931, allocations: 312 kB / 0.7428 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.3935, allocations: 488.4 kB / 0.7432 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.3936, allocations: 6.328 kB / 0.7433 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.3939, allocations: 280.7 kB / 0.7435 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3941, allocations: 132.4 kB / 0.7436 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.3942, allocations: 25.94 kB / 0.7437 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.3943, allocations: 26.94 kB / 0.7437 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3944, allocations: 114.9 kB / 0.7438 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3946, allocations: 162.1 kB / 0.744 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.395, allocations: 435.5 kB / 0.7444 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.395, allocations: 0 / 0.7444 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.395, allocations: 0 / 0.7444 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.395, allocations: 1.375 kB / 0.7444 GB, free: 15.46 MB / 0.5919 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.0009359/0.3959, allocations: 0.7988 MB / 0.7452 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.396, allocations: 10.94 kB / 0.7452 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.3961, allocations: 51.61 kB / 0.7452 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.3963, allocations: 256.1 kB / 0.7455 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3964, allocations: 18.14 kB / 0.7455 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.3965, allocations: 26.7 kB / 0.7455 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009028/0.3974, allocations: 235.6 kB / 0.7457 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3974, allocations: 4.125 kB / 0.7457 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3974, allocations: 7.188 kB / 0.7457 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3974, allocations: 1.984 kB / 0.7457 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.3981, allocations: 114.8 kB / 0.7458 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.3984, allocations: 291.7 kB / 0.7461 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.3994, allocations: 176.4 kB / 0.7463 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.4001, allocations: 125.6 kB / 0.7464 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4001, allocations: 2.844 kB / 0.7464 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.401, allocations: 240 kB / 0.7466 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.401, allocations: 0 / 0.7466 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.002358/0.4033, allocations: 0.5243 MB / 0.7472 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.4033, allocations: 61.31 kB / 0.7472 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.4037, allocations: 407.1 kB / 0.7476 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4037, allocations: 40.81 kB / 0.7476 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.4038, allocations: 99.55 kB / 0.7477 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.4038, allocations: 45.17 kB / 0.7478 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.404, allocations: 130.6 kB / 0.7479 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.404, allocations: 321.5 kB / 0.7482 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.4043, allocations: 193.2 kB / 0.7484 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4045, allocations: 250 kB / 0.7486 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4048, allocations: 272.4 kB / 0.7489 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4048, allocations: 1.469 kB / 0.7489 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007553/0.4056, allocations: 0.5582 MB / 0.7494 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.4056, allocations: 81.72 kB / 0.7495 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4056, allocations: 1.312 kB / 0.7495 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4057, allocations: 11.27 kB / 0.7495 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.4058, allocations: 23.48 kB / 0.7496 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.4058, allocations: 7 kB / 0.7496 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.4063, allocations: 66.59 kB / 0.7496 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.4064, allocations: 62 kB / 0.7497 GB, free: 12.39 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.0001684/0.4065, allocations: 196.1 kB / 0.7499 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.4066, allocations: 37.59 kB / 0.7499 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.4066, allocations: 46.34 kB / 0.75 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4066, allocations: 5.656 kB / 0.75 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4066, allocations: 1.625 kB / 0.75 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4066, allocations: 0.75 kB / 0.75 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4086, allocations: 0.7038 MB / 0.7506 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4086, allocations: 7.938 kB / 0.7507 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.4087, allocations: 10.05 kB / 0.7507 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4087, allocations: 0.6562 kB / 0.7507 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.4087, allocations: 19.42 kB / 0.7507 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.4087, allocations: 5.766 kB / 0.7507 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4087, allocations: 0 / 0.7507 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4103, allocations: 0.5047 MB / 0.7512 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.4106, allocations: 136.9 kB / 0.7513 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.115e-05/0.4106, allocations: 16.86 kB / 0.7513 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.4111, allocations: 34.64 kB / 0.7514 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4111, allocations: 16 kB / 0.7514 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.4112, allocations: 57.73 kB / 0.7514 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002471/0.4114, allocations: 293 kB / 0.7517 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 1.156 kB / 0.7517 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003365/0.4118, allocations: 69.2 kB / 0.7518 GB, free: 11.44 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.0001063/0.4119, allocations: 122.8 kB / 0.7519 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.4131, allocations: 492.2 kB / 0.7524 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4131, allocations: 0 / 0.7524 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.4138, allocations: 132.9 kB / 0.7525 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4141, allocations: 30.17 kB / 0.7525 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4155, allocations: 0.5623 MB / 0.7531 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4156, allocations: 172.2 kB / 0.7532 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.4157, allocations: 15.7 kB / 0.7532 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.4157, allocations: 16.42 kB / 0.7533 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.4157, allocations: 1.062 kB / 0.7533 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.008412/0.4241, allocations: 6.055 MB / 0.7592 GB, free: 7.82 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.565045482013375] Failed to read output from testmodel.py, exit status != 0: 0.4318873150041327 0.441420469 0.04405324 Calling exit ...