Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0009392/0.0009392, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001247/0.001247, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9191/0.9191, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.289/2.289, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.087e-05, allocations: 8.641 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.005227/0.005248, allocations: 1.569 MB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.006315, allocations: 0.5399 MB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.006362, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.006447, allocations: 15.86 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.006545, allocations: 27.84 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.007193, allocations: 315.3 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.01087, allocations: 487.4 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.01091, allocations: 11.98 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.0113, allocations: 355.6 kB / 0.8418 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.01153, allocations: 137.2 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.01159, allocations: 24 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.172e-05/0.01164, allocations: 28 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.01174, allocations: 119.7 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.01186, allocations: 135.6 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.01218, allocations: 374.9 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01218, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.02e-07/0.01218, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.01218, allocations: 4 kB / 0.8425 GB, free: 10.17 MB / 0.8073 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.0007805/0.01296, allocations: 0.7428 MB / 0.8433 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.01299, allocations: 8.625 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.01308, allocations: 48.88 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.01333, allocations: 236.1 kB / 0.8435 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.01336, allocations: 20.3 kB / 0.8436 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.01342, allocations: 32.36 kB / 0.8436 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.01542, allocations: 178.7 kB / 0.8438 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.01543, allocations: 192 / 0.8438 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.01545, allocations: 4.359 kB / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.01546, allocations: 8.375 kB / 0.8438 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.01555, allocations: 39.92 kB / 0.8438 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.01574, allocations: 116.8 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.01592, allocations: 106.6 kB / 0.844 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.01601, allocations: 40.84 kB / 0.8441 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.01602, allocations: 4 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.01621, allocations: 155.2 kB / 0.8442 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.01621, allocations: 4 kB / 0.8442 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003893/0.0166, allocations: 204.7 kB / 0.8444 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.01664, allocations: 63.34 kB / 0.8445 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.01685, allocations: 323.3 kB / 0.8448 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.01689, allocations: 41.69 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.01695, allocations: 93.41 kB / 0.8449 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.01698, allocations: 43.77 kB / 0.845 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.01712, allocations: 113.4 kB / 0.8451 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.0172, allocations: 326.8 kB / 0.8454 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.01738, allocations: 155.3 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.01757, allocations: 201.3 kB / 0.8457 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.01779, allocations: 253.1 kB / 0.846 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0178, allocations: 0 / 0.846 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000375/0.01817, allocations: 437.5 kB / 0.8464 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.01822, allocations: 79.38 kB / 0.8465 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01822, allocations: 3.938 kB / 0.8465 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.01823, allocations: 4 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.01833, allocations: 35.97 kB / 0.8465 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.01833, allocations: 7.938 kB / 0.8465 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.01849, allocations: 52.05 kB / 0.8466 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.01853, allocations: 51.92 kB / 0.8466 GB, free: 5.695 MB / 0.8073 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.0001017/0.01863, allocations: 138.6 kB / 0.8467 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.01867, allocations: 27.97 kB / 0.8468 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.0187, allocations: 31.69 kB / 0.8468 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.0187, allocations: 4 kB / 0.8468 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.0187, allocations: 0 / 0.8468 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01871, allocations: 7.969 kB / 0.8468 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.01908, allocations: 374.7 kB / 0.8472 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01908, allocations: 0 / 0.8472 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.0191, allocations: 7.984 kB / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.0191, allocations: 0 / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01912, allocations: 19.91 kB / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01912, allocations: 0 / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01912, allocations: 0 / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01931, allocations: 247.8 kB / 0.8474 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.01944, allocations: 115.6 kB / 0.8475 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.01949, allocations: 11.98 kB / 0.8475 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.01964, allocations: 23.98 kB / 0.8476 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.01966, allocations: 19.86 kB / 0.8476 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.0197, allocations: 47.97 kB / 0.8476 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.354e-05/0.01978, allocations: 144.7 kB / 0.8478 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01978, allocations: 0 / 0.8478 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004174/0.0202, allocations: 64 kB / 0.8478 GB, free: 4.379 MB / 0.8073 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 8.568e-05/0.02028, allocations: 100.9 kB / 0.8479 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.02065, allocations: 409.4 kB / 0.8483 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.02066, allocations: 4 kB / 0.8483 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.02073, allocations: 61.14 kB / 0.8484 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.02091, allocations: 41.61 kB / 0.8484 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.02146, allocations: 463.7 kB / 0.8489 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.02151, allocations: 87.81 kB / 0.8489 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.02154, allocations: 13.14 kB / 0.849 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.02169, allocations: 123.3 kB / 0.8491 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.02169, allocations: 0 / 0.8491 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of Templates: time 0.00574/0.02743, allocations: 5.316 MB / 0.8543 GB, free: 13.65 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.179885454010218]