Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001463/0.001463, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001797/0.001797, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.49/2.49, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.775e-05, allocations: 12.7 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003678/0.003706, allocations: 1.608 MB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.005219, allocations: 0.5419 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.005287, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.005393, allocations: 11.86 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.005527, allocations: 35.78 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.006531, allocations: 315.3 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.007225, allocations: 491.4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.007271, allocations: 4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.00789, allocations: 359.6 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.008276, allocations: 137.2 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.008368, allocations: 24 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.008432, allocations: 28 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.00856, allocations: 123.6 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.00872, allocations: 123.7 kB / 0.8423 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.009186, allocations: 382.8 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.009189, allocations: 0 / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.183e-06/0.00919, allocations: 0 / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.009198, allocations: 0 / 0.8426 GB, free: 10.04 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.001352/0.01055, allocations: 0.7428 MB / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01059, allocations: 8.625 kB / 0.8434 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.01072, allocations: 52.88 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.01105, allocations: 232.1 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.0111, allocations: 16.36 kB / 0.8436 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.01117, allocations: 24.38 kB / 0.8437 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.01165, allocations: 186.7 kB / 0.8438 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01166, allocations: 4.125 kB / 0.8438 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.01168, allocations: 384 / 0.8438 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01169, allocations: 4.375 kB / 0.8439 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.01182, allocations: 47.91 kB / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.01207, allocations: 116.9 kB / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.0123, allocations: 98.67 kB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.01243, allocations: 40.84 kB / 0.8441 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.01245, allocations: 4 kB / 0.8441 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.01271, allocations: 155.1 kB / 0.8443 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.01272, allocations: 0 / 0.8443 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0005043/0.01322, allocations: 205 kB / 0.8445 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.01326, allocations: 67.34 kB / 0.8446 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.01357, allocations: 323.3 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.01363, allocations: 45.64 kB / 0.8449 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.01369, allocations: 97.39 kB / 0.845 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.01374, allocations: 39.77 kB / 0.845 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.01393, allocations: 109.4 kB / 0.8451 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01403, allocations: 334.7 kB / 0.8455 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.01428, allocations: 159.3 kB / 0.8456 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.01453, allocations: 201.3 kB / 0.8458 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.01483, allocations: 250.6 kB / 0.846 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01483, allocations: 0 / 0.846 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005767/0.01541, allocations: 428.1 kB / 0.8465 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.01549, allocations: 93.39 kB / 0.8465 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01549, allocations: 0 / 0.8465 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.01551, allocations: 4 kB / 0.8465 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.01569, allocations: 35.91 kB / 0.8466 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.0157, allocations: 4 kB / 0.8466 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.01598, allocations: 48.05 kB / 0.8466 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.01607, allocations: 59.91 kB / 0.8467 GB, free: 5.57 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.0001607/0.01623, allocations: 150.5 kB / 0.8468 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.01629, allocations: 23.97 kB / 0.8469 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.01635, allocations: 39.67 kB / 0.8469 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01635, allocations: 0 / 0.8469 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01635, allocations: 0 / 0.8469 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01635, allocations: 0 / 0.8469 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.01701, allocations: 382.7 kB / 0.8473 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01701, allocations: 0 / 0.8473 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.01705, allocations: 4 kB / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01706, allocations: 0 / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.01709, allocations: 15.97 kB / 0.8473 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01709, allocations: 0 / 0.8473 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01709, allocations: 0 / 0.8473 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.01746, allocations: 247.8 kB / 0.8475 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.01769, allocations: 115.6 kB / 0.8476 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.01776, allocations: 16 kB / 0.8476 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.01806, allocations: 27.97 kB / 0.8477 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.01809, allocations: 11.92 kB / 0.8477 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.01816, allocations: 51.97 kB / 0.8477 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001636/0.01832, allocations: 136.7 kB / 0.8479 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01832, allocations: 0 / 0.8479 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003537/0.01867, allocations: 67.98 kB / 0.8479 GB, free: 4.25 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 0.0001485/0.01882, allocations: 96.95 kB / 0.848 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007463/0.01957, allocations: 413.7 kB / 0.8484 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.01958, allocations: 8.125 kB / 0.8484 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.01972, allocations: 60.72 kB / 0.8485 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01997, allocations: 47.84 kB / 0.8485 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.02068, allocations: 460.1 kB / 0.849 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.857e-05/0.02072, allocations: 83.81 kB / 0.849 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.02077, allocations: 17.14 kB / 0.8491 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.02097, allocations: 119.3 kB / 0.8492 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/0.02097, allocations: 4 kB / 0.8492 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of Templates: time 0.008462/0.02943, allocations: 5.313 MB / 0.8544 GB, free: 13.51 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.542952455114573]