Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008133/0.0008133, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008315/0.0008315, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9517 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.09e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002834/0.002865, allocations: 1.522 MB / 0.9532 GB, free: 352 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004279, allocations: 0.5269 MB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.004345, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.004455, allocations: 11.86 kB / 0.9537 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.004582, allocations: 31.78 kB / 0.9537 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.005425, allocations: 320.7 kB / 0.954 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.005931, allocations: 483.4 kB / 0.9545 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.005977, allocations: 11.98 kB / 0.9545 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.006449, allocations: 359.6 kB / 0.9548 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.006642, allocations: 123.8 kB / 0.955 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.006689, allocations: 28 kB / 0.955 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.006732, allocations: 28 kB / 0.955 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.006823, allocations: 119.7 kB / 0.9551 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.006923, allocations: 131.7 kB / 0.9553 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.007261, allocations: 458.8 kB / 0.9557 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.007264, allocations: 0 / 0.9557 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007265, allocations: 0 / 0.9557 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.007269, allocations: 3.938 kB / 0.9557 GB, free: 13.75 MB / 0.8698 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.0007878/0.008057, allocations: 0.8105 MB / 0.9565 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.00809, allocations: 8.031 kB / 0.9565 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.008172, allocations: 56.69 kB / 0.9566 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.008414, allocations: 248.1 kB / 0.9568 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.008449, allocations: 24.36 kB / 0.9568 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.008493, allocations: 28.36 kB / 0.9568 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.008984, allocations: 230 kB / 0.9571 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.008991, allocations: 192 / 0.9571 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.009008, allocations: 4.375 kB / 0.9571 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.009013, allocations: 384 / 0.9571 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.009366, allocations: 137.1 kB / 0.9572 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.009603, allocations: 281 kB / 0.9575 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.01009, allocations: 178.5 kB / 0.9576 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.01042, allocations: 116.8 kB / 0.9577 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.01044, allocations: 4 kB / 0.9577 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.01088, allocations: 235.2 kB / 0.958 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.01088, allocations: 0 / 0.958 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.001214/0.0121, allocations: 0.5166 MB / 0.9585 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.01214, allocations: 75.38 kB / 0.9585 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.01241, allocations: 413.8 kB / 0.9589 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.01245, allocations: 45.69 kB / 0.959 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.01249, allocations: 89.45 kB / 0.9591 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.01253, allocations: 35.75 kB / 0.9591 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01264, allocations: 125.5 kB / 0.9592 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.01272, allocations: 322.8 kB / 0.9595 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.01291, allocations: 195.3 kB / 0.9597 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.01311, allocations: 247.4 kB / 0.96 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.01334, allocations: 275 kB / 0.9602 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01334, allocations: 0 / 0.9602 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005065/0.01385, allocations: 0.5663 MB / 0.9608 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.0139, allocations: 83.38 kB / 0.9608 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.0139, allocations: 0 / 0.9608 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01392, allocations: 8.188 kB / 0.9609 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01402, allocations: 19.98 kB / 0.9609 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.01403, allocations: 15.86 kB / 0.9609 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.01426, allocations: 59.89 kB / 0.9609 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.01431, allocations: 63.98 kB / 0.961 GB, free: 7.988 MB / 0.8698 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.0001392/0.01445, allocations: 191.7 kB / 0.9612 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01449, allocations: 43.72 kB / 0.9612 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.01453, allocations: 43.67 kB / 0.9613 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01454, allocations: 0 / 0.9613 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01454, allocations: 7.938 kB / 0.9613 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01454, allocations: 7.875 kB / 0.9613 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.01565, allocations: 0.7051 MB / 0.962 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01566, allocations: 0 / 0.962 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.01568, allocations: 7.984 kB / 0.962 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01568, allocations: 7.922 kB / 0.962 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.0157, allocations: 19.92 kB / 0.962 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0157, allocations: 4 kB / 0.962 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0157, allocations: 0 / 0.962 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.01652, allocations: 0.5026 MB / 0.9625 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.01669, allocations: 141.4 kB / 0.9626 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.01674, allocations: 15.94 kB / 0.9627 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.01695, allocations: 39.95 kB / 0.9627 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.01698, allocations: 11.98 kB / 0.9627 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.01702, allocations: 51.98 kB / 0.9628 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001829/0.0172, allocations: 299.1 kB / 0.963 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.0172, allocations: 0 / 0.963 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002159/0.01742, allocations: 67.98 kB / 0.9631 GB, free: 5.773 MB / 0.8698 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 9.937e-05/0.01751, allocations: 124.6 kB / 0.9632 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006677/0.01818, allocations: 486.2 kB / 0.9637 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01818, allocations: 4.062 kB / 0.9637 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.01853, allocations: 131.8 kB / 0.9638 GB, free: 5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01875, allocations: 23.98 kB / 0.9638 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.01958, allocations: 0.5987 MB / 0.9644 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01968, allocations: 170.8 kB / 0.9646 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.01971, allocations: 20.48 kB / 0.9646 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.01971, allocations: 0 / 0.9646 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of Templates: time 0.003524/0.02324, allocations: 3.687 MB / 0.9682 GB, free: 412 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.541549424640834]