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.0009983/0.0009983, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009973/0.0009973, allocations: 177 kB / 23.36 MB, free: 1.137 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.9657/0.9657, allocations: 177.1 MB / 203.8 MB, free: 5.434 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.546/2.546, allocations: 438.8 MB / 0.6826 GB, free: 13.56 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.673e-06/1.673e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.326e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002762/0.002786, allocations: 1.612 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004297, allocations: 0.542 MB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.004378, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.004487, allocations: 7.922 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.004629, allocations: 31.73 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.005626, allocations: 327.2 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.006208, allocations: 487.4 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.006253, allocations: 4 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.006764, allocations: 355.6 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.00711, allocations: 137 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.768e-05/0.007197, allocations: 24 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.007271, allocations: 32 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.007426, allocations: 123.6 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.007591, allocations: 127.7 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.008085, allocations: 374.8 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008088, allocations: 0 / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008089, allocations: 0 / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.008097, allocations: 0 / 0.8426 GB, free: 10.01 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.001282/0.009379, allocations: 0.7466 MB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.009419, allocations: 8.625 kB / 0.8434 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.00953, allocations: 52.88 kB / 0.8434 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.009851, allocations: 236 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.009899, allocations: 16.36 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.009966, allocations: 32.36 kB / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.01045, allocations: 178.7 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01046, allocations: 192 / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.01049, allocations: 384 / 0.8439 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.0105, allocations: 4.375 kB / 0.8439 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01062, allocations: 47.84 kB / 0.8439 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.0109, allocations: 120.9 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.01112, allocations: 90.55 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01124, allocations: 48.83 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.01126, allocations: 8 kB / 0.8442 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.01151, allocations: 150.5 kB / 0.8443 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.01151, allocations: 3.938 kB / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004729/0.01198, allocations: 205.4 kB / 0.8445 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.01202, allocations: 63.41 kB / 0.8446 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.01231, allocations: 327.3 kB / 0.8449 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.01236, allocations: 37.7 kB / 0.8449 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.01242, allocations: 97.39 kB / 0.845 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.01247, allocations: 39.77 kB / 0.845 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.01265, allocations: 117.4 kB / 0.8452 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01275, allocations: 322.8 kB / 0.8455 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.01298, allocations: 155.3 kB / 0.8456 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.01322, allocations: 213.2 kB / 0.8458 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.0135, allocations: 247.1 kB / 0.846 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01351, allocations: 0 / 0.846 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005254/0.01403, allocations: 440.2 kB / 0.8465 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.01412, allocations: 83.36 kB / 0.8465 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01412, allocations: 0 / 0.8465 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01414, allocations: 4 kB / 0.8465 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01433, allocations: 35.91 kB / 0.8466 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01433, allocations: 4 kB / 0.8466 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.0147, allocations: 47.86 kB / 0.8466 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.01476, allocations: 55.92 kB / 0.8467 GB, free: 5.535 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.0001605/0.01492, allocations: 150.5 kB / 0.8468 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.01497, allocations: 27.97 kB / 0.8469 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.01503, allocations: 35.67 kB / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01503, allocations: 0 / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01503, allocations: 0 / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01504, allocations: 0 / 0.8469 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.01554, allocations: 378.7 kB / 0.8473 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01555, allocations: 0 / 0.8473 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.01558, allocations: 8 kB / 0.8473 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01558, allocations: 0 / 0.8473 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.01561, allocations: 15.97 kB / 0.8473 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01561, allocations: 0 / 0.8473 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01561, allocations: 0 / 0.8473 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.01586, allocations: 254.5 kB / 0.8475 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.016, allocations: 111.6 kB / 0.8476 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.01605, allocations: 12 kB / 0.8476 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.01624, allocations: 31.97 kB / 0.8477 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.01627, allocations: 15.92 kB / 0.8477 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.01631, allocations: 47.97 kB / 0.8477 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.847e-05/0.01641, allocations: 136.7 kB / 0.8479 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01641, allocations: 0 / 0.8479 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002014/0.01661, allocations: 63.98 kB / 0.8479 GB, free: 4.219 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.0001275/0.01673, allocations: 105 kB / 0.848 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.01717, allocations: 406.7 kB / 0.8484 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.01717, allocations: 7.938 kB / 0.8484 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.01726, allocations: 61.16 kB / 0.8485 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01749, allocations: 41.61 kB / 0.8485 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.01817, allocations: 460.1 kB / 0.8489 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.01823, allocations: 83.81 kB / 0.849 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01826, allocations: 17.14 kB / 0.849 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01843, allocations: 123.3 kB / 0.8492 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01844, allocations: 0 / 0.8492 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.006244/0.02468, allocations: 5.322 MB / 0.8544 GB, free: 13.48 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 -s gbode -gbm=radauIIA3 -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.4487322312779725]