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.001299/0.001299, allocations: 78.42 kB / 19.01 MB, free: 2.859 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.001354/0.001354, allocations: 158.5 kB / 22.26 MB, free: 5.105 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.355/1.355, allocations: 177.2 MB / 202.6 MB, free: 9.258 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.002342/0.002342, allocations: 230.2 kB / 259.2 MB, free: 0.582 MB / 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.9982/0.9982, allocations: 138.5 MB / 454.2 MB, free: 2.066 MB / 366.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.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: 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.003076/0.003076, allocations: 103.8 kB / 0.6466 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3654, allocations: 95.34 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002685/0.3681, allocations: 1.527 MB / 0.7412 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3695, allocations: 0.5344 MB / 0.7417 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.3695, allocations: 4 kB / 0.7417 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.857e-05/0.3696, allocations: 11.86 kB / 0.7417 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3697, allocations: 27.8 kB / 0.7417 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.3705, allocations: 322.7 kB / 0.742 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.371, allocations: 483.5 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.3711, allocations: 3.984 kB / 0.7425 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/0.3716, allocations: 363.6 kB / 0.7429 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.3718, allocations: 138.6 kB / 0.743 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.3719, allocations: 28 kB / 0.743 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.372, allocations: 24 kB / 0.743 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.3722, allocations: 111.7 kB / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3724, allocations: 163.2 kB / 0.7433 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.3728, allocations: 431.6 kB / 0.7437 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3728, allocations: 3.938 kB / 0.7437 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3728, allocations: 4 kB / 0.7437 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.3729, allocations: 0 / 0.7437 GB, free: 11.08 MB / 0.5762 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.001276/0.3741, allocations: 0.7912 MB / 0.7445 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3742, allocations: 9.344 kB / 0.7445 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3743, allocations: 52.7 kB / 0.7446 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.3747, allocations: 260.7 kB / 0.7448 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.3748, allocations: 20.38 kB / 0.7448 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.3748, allocations: 28.3 kB / 0.7448 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009612/0.3758, allocations: 230 kB / 0.7451 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3758, allocations: 192 / 0.7451 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.3758, allocations: 11.88 kB / 0.7451 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3758, allocations: 0 / 0.7451 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.3766, allocations: 115.9 kB / 0.7452 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.377, allocations: 285 kB / 0.7455 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3781, allocations: 178.6 kB / 0.7456 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.3788, allocations: 124.7 kB / 0.7458 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3788, allocations: 4 kB / 0.7458 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/0.3797, allocations: 235.1 kB / 0.746 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.3797, allocations: 0 / 0.746 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002502/0.3822, allocations: 0.5275 MB / 0.7465 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3823, allocations: 59.39 kB / 0.7466 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.3827, allocations: 413.9 kB / 0.7469 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.3828, allocations: 49.62 kB / 0.747 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3829, allocations: 97.44 kB / 0.7471 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3829, allocations: 43.67 kB / 0.7471 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.3831, allocations: 125.5 kB / 0.7472 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3832, allocations: 326.8 kB / 0.7476 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.3836, allocations: 191.3 kB / 0.7477 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.3839, allocations: 242 kB / 0.748 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.3843, allocations: 279.8 kB / 0.7482 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3843, allocations: 0 / 0.7482 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008654/0.3852, allocations: 0.5509 MB / 0.7488 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/0.3852, allocations: 87.38 kB / 0.7489 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3852, allocations: 0 / 0.7489 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3853, allocations: 7.938 kB / 0.7489 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3854, allocations: 28.09 kB / 0.7489 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3854, allocations: 4 kB / 0.7489 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3859, allocations: 63.84 kB / 0.749 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.386, allocations: 67.91 kB / 0.749 GB, free: 5.32 MB / 0.5762 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.0002151/0.3862, allocations: 197.2 kB / 0.7492 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.3862, allocations: 43.75 kB / 0.7493 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.3863, allocations: 43.62 kB / 0.7493 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3863, allocations: 3.984 kB / 0.7493 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3863, allocations: 4 kB / 0.7493 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3863, allocations: 0 / 0.7493 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.3884, allocations: 0.7089 MB / 0.75 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3884, allocations: 7.938 kB / 0.75 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.3885, allocations: 4 kB / 0.75 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3885, allocations: 0 / 0.75 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.3885, allocations: 23.97 kB / 0.75 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3885, allocations: 4 kB / 0.75 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3885, allocations: 0 / 0.75 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.3902, allocations: 0.5111 MB / 0.7505 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.3905, allocations: 129.5 kB / 0.7507 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.3905, allocations: 15.98 kB / 0.7507 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.391, allocations: 35.97 kB / 0.7507 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.391, allocations: 7.984 kB / 0.7507 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.3911, allocations: 59.97 kB / 0.7508 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003102/0.3914, allocations: 295.1 kB / 0.7511 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3914, allocations: 4 kB / 0.7511 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003227/0.3917, allocations: 67.98 kB / 0.7511 GB, free: 3.105 MB / 0.5762 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.0001394/0.3919, allocations: 115.2 kB / 0.7512 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.3931, allocations: 497.3 kB / 0.7517 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3931, allocations: 384 / 0.7517 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.3939, allocations: 127.9 kB / 0.7518 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3942, allocations: 29.58 kB / 0.7519 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3956, allocations: 0.5625 MB / 0.7524 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.3958, allocations: 171 kB / 0.7526 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.3958, allocations: 13.16 kB / 0.7526 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.3958, allocations: 16.48 kB / 0.7526 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.3958, allocations: 0 / 0.7526 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.00988/0.4057, allocations: 6.057 MB / 0.7585 GB, free: 11.42 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.637123042717576] Failed to read output from testmodel.py, exit status != 0: 0.414062961935997 0.42823726 0.052402348 Calling exit ...