Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001621/0.001621, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002633/0.002633, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.175/3.175, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Buildings 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.002079/0.002079, allocations: 71.7 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002903/0.3556, allocations: 1.555 MB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3569, allocations: 0.5423 MB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3569, allocations: 0 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.541e-05/0.357, allocations: 7.875 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3571, allocations: 27.84 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.358, allocations: 314.6 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.3585, allocations: 491.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3586, allocations: 11.98 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.359, allocations: 275.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.3593, allocations: 155.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.3594, allocations: 24 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3595, allocations: 32 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3596, allocations: 115.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3598, allocations: 183.1 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.3603, allocations: 426.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3603, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3603, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3603, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 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.001739/0.362, allocations: 0.8066 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3621, allocations: 16.03 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3622, allocations: 48.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.3628, allocations: 260.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.3629, allocations: 20.36 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.363, allocations: 20.38 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.364, allocations: 214 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.364, allocations: 4.125 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.364, allocations: 11.94 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.364, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.3647, allocations: 103.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.3653, allocations: 360.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3663, allocations: 166.5 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.3671, allocations: 100.8 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3671, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000955/0.368, allocations: 219.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 4.098e-06/0.368, allocations: 3.984 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.3705, allocations: 491.1 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3706, allocations: 67.38 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.3711, allocations: 409.9 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.3711, allocations: 41.69 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.3712, allocations: 97.45 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.3713, allocations: 43.69 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.3715, allocations: 125.5 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3717, allocations: 322.8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.3719, allocations: 115.9 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.3722, allocations: 173.9 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.3727, allocations: 274.6 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3727, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008699/0.3735, allocations: 494.2 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/0.3736, allocations: 91.31 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3736, allocations: 3.938 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3737, allocations: 4 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.3738, allocations: 27.98 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3738, allocations: 0 / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.3744, allocations: 67.97 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.3745, allocations: 63.95 kB / 1.335 GB, free: 7.902 MB / 1.029 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.0002498/0.3747, allocations: 188.3 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.3748, allocations: 43.66 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.3749, allocations: 39.69 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3749, allocations: 3.984 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3749, allocations: 4 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3749, allocations: 7.938 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3772, allocations: 0.7087 MB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3772, allocations: 4 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3772, allocations: 4 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3772, allocations: 4 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.3773, allocations: 19.97 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3773, allocations: 7.938 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3773, allocations: 3.984 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.379, allocations: 485.8 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.3794, allocations: 129.6 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.3795, allocations: 12 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.3799, allocations: 31.97 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.38, allocations: 7.984 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.3801, allocations: 63.97 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003634/0.3804, allocations: 295.1 kB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3804, allocations: 0 / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004378/0.3809, allocations: 63.98 kB / 1.337 GB, free: 5.73 MB / 1.029 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.0001993/0.3811, allocations: 125 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3824, allocations: 406.5 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3824, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.3831, allocations: 107.9 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3835, allocations: 34.81 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.385, allocations: 0.5474 MB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.3855, allocations: 0.7708 MB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.835e-05/0.3855, allocations: 17.06 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.3856, allocations: 19.44 kB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.3856, allocations: 0 / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of Templates: time 0.01081/0.3964, allocations: 5.019 MB / 1.344 GB, free: 14.51 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 8.929646366741508]