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.001245/0.001245, allocations: 73.25 kB / 19.76 MB, free: 2.02 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.001325/0.001325, allocations: 160.4 kB / 23.01 MB, free: 4.953 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.32/1.32, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.002336/0.002336, allocations: 242.9 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.8701/0.8701, allocations: 138.5 MB / 455 MB, free: 15.09 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.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.002886/0.002886, allocations: 95.84 kB / 0.6473 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3844, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002239/0.3866, allocations: 1.524 MB / 0.7419 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3878, allocations: 0.5348 MB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.3878, allocations: 5.188 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.232e-05/0.3879, allocations: 6.469 kB / 0.7425 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.388, allocations: 34.55 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.3887, allocations: 311.4 kB / 0.7428 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.3891, allocations: 488.3 kB / 0.7433 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.3891, allocations: 3.922 kB / 0.7433 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.3895, allocations: 284.1 kB / 0.7435 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.3897, allocations: 136.7 kB / 0.7437 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.3898, allocations: 25.75 kB / 0.7437 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.3899, allocations: 27.66 kB / 0.7437 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.39, allocations: 113.9 kB / 0.7438 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3902, allocations: 158.7 kB / 0.744 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3906, allocations: 430.9 kB / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3906, allocations: 0 / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3906, allocations: 0 / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3906, allocations: 1.375 kB / 0.7444 GB, free: 15.22 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.0009788/0.3916, allocations: 0.8022 MB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3916, allocations: 11.45 kB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3917, allocations: 55.5 kB / 0.7452 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.392, allocations: 263.2 kB / 0.7455 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.392, allocations: 19 kB / 0.7455 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.3921, allocations: 25.23 kB / 0.7455 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.393, allocations: 233.2 kB / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.393, allocations: 192 / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3931, allocations: 6.734 kB / 0.7457 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3931, allocations: 1.531 kB / 0.7458 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.3938, allocations: 110.8 kB / 0.7459 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.3941, allocations: 288.3 kB / 0.7461 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.3951, allocations: 185.3 kB / 0.7463 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.3958, allocations: 117.7 kB / 0.7464 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3958, allocations: 2.562 kB / 0.7464 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.3967, allocations: 239.7 kB / 0.7467 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3967, allocations: 0 / 0.7467 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.002417/0.3991, allocations: 0.5294 MB / 0.7472 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.3991, allocations: 60.31 kB / 0.7472 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3995, allocations: 411.1 kB / 0.7476 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.3995, allocations: 40.77 kB / 0.7477 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.3996, allocations: 95.67 kB / 0.7477 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3996, allocations: 40.95 kB / 0.7478 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3998, allocations: 129.9 kB / 0.7479 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.3998, allocations: 326.2 kB / 0.7482 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.4001, allocations: 191.7 kB / 0.7484 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4003, allocations: 246.3 kB / 0.7486 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.4006, allocations: 275.6 kB / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4006, allocations: 0 / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007559/0.4014, allocations: 0.5618 MB / 0.7495 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.4014, allocations: 84.12 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4014, allocations: 1.281 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4015, allocations: 7.547 kB / 0.7495 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4016, allocations: 28.12 kB / 0.7496 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4016, allocations: 2.906 kB / 0.7496 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.4021, allocations: 69.39 kB / 0.7496 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.585e-05/0.4022, allocations: 62.5 kB / 0.7497 GB, free: 12.14 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.0001692/0.4023, allocations: 192 kB / 0.7499 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.4024, allocations: 38.39 kB / 0.7499 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.4024, allocations: 45.75 kB / 0.75 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4024, allocations: 6.672 kB / 0.75 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4025, allocations: 0 / 0.75 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4025, allocations: 1.266 kB / 0.75 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.4045, allocations: 0.7121 MB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4045, allocations: 7.875 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.4045, allocations: 5.359 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4045, allocations: 1.438 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4046, allocations: 20.41 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4046, allocations: 4 kB / 0.7507 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4046, allocations: 1.344 kB / 0.7507 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4062, allocations: 0.5052 MB / 0.7512 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.4064, allocations: 136.2 kB / 0.7513 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.4065, allocations: 10.92 kB / 0.7513 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.407, allocations: 43.77 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.407, allocations: 13.03 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.4071, allocations: 56.42 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002501/0.4073, allocations: 294.1 kB / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.4073, allocations: 0 / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003303/0.4076, allocations: 66.61 kB / 0.7518 GB, free: 11.2 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.0001275/0.4078, allocations: 130.2 kB / 0.7519 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.409, allocations: 487.1 kB / 0.7524 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.409, allocations: 1.438 kB / 0.7524 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.4097, allocations: 127.2 kB / 0.7525 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.41, allocations: 34.89 kB / 0.7525 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4113, allocations: 0.5627 MB / 0.7531 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.4115, allocations: 167.6 kB / 0.7532 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.27e-05/0.4115, allocations: 15.58 kB / 0.7533 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.4116, allocations: 17.22 kB / 0.7533 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.4116, allocations: 1.5 kB / 0.7533 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.008464/0.42, allocations: 6.059 MB / 0.7592 GB, free: 7.621 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532807473093271] Failed to read output from testmodel.py, exit status != 0: 0.4272236709948629 0.43717667099999996 0.044165742 Calling exit ...