Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.00134/0.00134, allocations: 78.34 kB / 19 MB, free: 2.867 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.001442/0.001442, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.406/1.406, allocations: 177.2 MB / 202.6 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] 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.002451/0.002451, allocations: 227.5 kB / 259.2 MB, free: 0.6055 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 1.041/1.041, allocations: 138.5 MB / 454.2 MB, free: 2.016 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [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.002841/0.002841, allocations: 103.8 kB / 0.6466 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4039, allocations: 95.35 MB / 0.7397 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002594/0.4065, allocations: 1.528 MB / 0.7412 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.4077, allocations: 0.5369 MB / 0.7417 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.4078, allocations: 0 / 0.7417 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.4078, allocations: 11.86 kB / 0.7417 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.4079, allocations: 23.86 kB / 0.7417 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.4085, allocations: 315.9 kB / 0.742 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.409, allocations: 487.4 kB / 0.7425 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 2.51e-05/0.4091, allocations: 11.98 kB / 0.7425 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.4095, allocations: 355.6 kB / 0.7428 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.4098, allocations: 126.3 kB / 0.743 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.4099, allocations: 28 kB / 0.743 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.41, allocations: 24 kB / 0.743 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4101, allocations: 123.5 kB / 0.7431 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.4102, allocations: 155.3 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.4106, allocations: 431.5 kB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4107, allocations: 4 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4107, allocations: 4 kB / 0.7437 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.4107, allocations: 0 / 0.7437 GB, free: 10.93 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.001122/0.4118, allocations: 0.7989 MB / 0.7445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4118, allocations: 9.344 kB / 0.7445 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.4119, allocations: 52.7 kB / 0.7445 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4123, allocations: 260.8 kB / 0.7448 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.4123, allocations: 16.31 kB / 0.7448 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.4124, allocations: 32.36 kB / 0.7448 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.4135, allocations: 233.2 kB / 0.7451 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4135, allocations: 4.172 kB / 0.7451 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.4135, allocations: 3.938 kB / 0.7451 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4135, allocations: 4 kB / 0.7451 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.4144, allocations: 119.8 kB / 0.7452 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.4148, allocations: 277.1 kB / 0.7454 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4159, allocations: 186.6 kB / 0.7456 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.4168, allocations: 112.8 kB / 0.7457 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4168, allocations: 8 kB / 0.7457 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.4178, allocations: 243 kB / 0.746 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.4178, allocations: 0 / 0.746 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002765/0.4206, allocations: 0.5275 MB / 0.7465 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.4206, allocations: 59.39 kB / 0.7465 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.421, allocations: 409.9 kB / 0.7469 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.4211, allocations: 41.69 kB / 0.747 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.4212, allocations: 97.44 kB / 0.7471 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.4212, allocations: 39.69 kB / 0.7471 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.4214, allocations: 137.4 kB / 0.7472 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4216, allocations: 322.8 kB / 0.7475 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.4219, allocations: 195.3 kB / 0.7477 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4223, allocations: 242.5 kB / 0.748 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.4227, allocations: 276.1 kB / 0.7482 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4227, allocations: 7.938 kB / 0.7482 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009114/0.4236, allocations: 0.5548 MB / 0.7488 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.4237, allocations: 79.38 kB / 0.7488 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4237, allocations: 3.984 kB / 0.7489 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4237, allocations: 7.938 kB / 0.7489 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4239, allocations: 31.91 kB / 0.7489 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4239, allocations: 0 / 0.7489 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.4244, allocations: 68.03 kB / 0.749 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.4245, allocations: 59.98 kB / 0.749 GB, free: 5.164 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.0002256/0.4247, allocations: 193.2 kB / 0.7492 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.4248, allocations: 39.75 kB / 0.7492 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.4248, allocations: 43.62 kB / 0.7493 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4248, allocations: 8 kB / 0.7493 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4248, allocations: 0 / 0.7493 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4248, allocations: 4 kB / 0.7493 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.4272, allocations: 0.7089 MB / 0.75 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4272, allocations: 3.938 kB / 0.75 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.4272, allocations: 4 kB / 0.75 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4272, allocations: 4 kB / 0.75 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.4273, allocations: 31.91 kB / 0.75 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4273, allocations: 0 / 0.75 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4273, allocations: 0 / 0.75 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.4292, allocations: 0.4956 MB / 0.7505 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.4295, allocations: 137.5 kB / 0.7506 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.4296, allocations: 19.91 kB / 0.7507 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.4301, allocations: 39.97 kB / 0.7507 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.4301, allocations: 11.92 kB / 0.7507 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.4302, allocations: 55.97 kB / 0.7508 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003076/0.4305, allocations: 299.1 kB / 0.751 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4305, allocations: 0 / 0.751 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003644/0.4308, allocations: 67.98 kB / 0.7511 GB, free: 2.949 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.0001619/0.431, allocations: 115.2 kB / 0.7512 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.4324, allocations: 0.489 MB / 0.7517 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4324, allocations: 0 / 0.7517 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.4333, allocations: 120.3 kB / 0.7518 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4336, allocations: 33.58 kB / 0.7518 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4352, allocations: 0.5664 MB / 0.7524 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.4354, allocations: 163 kB / 0.7526 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4355, allocations: 13.14 kB / 0.7526 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.4355, allocations: 24.48 kB / 0.7526 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4355, allocations: 0 / 0.7526 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.01018/0.4457, allocations: 6.048 MB / 0.7585 GB, free: 11.27 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.866253416985273] Failed to read output from testmodel.py, exit status != 0: 0.45410236343741417 0.46789783900000004 0.054327069000000006 Calling exit ...