Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001294/0.001294, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001386/0.001386, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.937/2.937, allocations: 0.49 GB / 0.7923 GB, free: 1.355 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.CalendarTimeMonths,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [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.002045/0.002045, allocations: 62.09 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002564/1.223, allocations: 1.537 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.225, allocations: 0.5429 MB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/1.225, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.941e-05/1.225, allocations: 11.81 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/1.225, allocations: 31.27 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/1.226, allocations: 313.4 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/1.226, allocations: 483.5 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/1.226, allocations: 6.359 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/1.226, allocations: 272.6 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/1.227, allocations: 153.5 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/1.227, allocations: 24.69 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.535e-05/1.227, allocations: 26.28 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/1.227, allocations: 117.1 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/1.227, allocations: 186.6 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003982/1.227, allocations: 423.1 kB / 1.326 GB, free: 22.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.227, allocations: 1.25 kB / 1.326 GB, free: 22.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/1.228, allocations: 0 / 1.326 GB, free: 22.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.228, allocations: 0 / 1.326 GB, free: 22.88 MB / 1.061 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.001262/1.229, allocations: 0.8865 MB / 1.327 GB, free: 22.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.229, allocations: 14.02 kB / 1.327 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.229, allocations: 54.23 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/1.229, allocations: 309.9 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/1.229, allocations: 18.38 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/1.229, allocations: 26.33 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/1.231, allocations: 224.3 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.231, allocations: 192 / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/1.231, allocations: 8.719 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.231, allocations: 6.062 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/1.231, allocations: 94.53 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/1.232, allocations: 387.3 kB / 1.328 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/1.233, allocations: 164.7 kB / 1.328 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000787/1.234, allocations: 106.2 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/1.234, allocations: 10.39 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.235, allocations: 219.6 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/1.235, allocations: 0 / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003241/1.238, allocations: 482.7 kB / 1.329 GB, free: 21.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.239, allocations: 66.06 kB / 1.329 GB, free: 21.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/1.239, allocations: 419 kB / 1.329 GB, free: 20.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.239, allocations: 44.84 kB / 1.329 GB, free: 20.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/1.239, allocations: 94.27 kB / 1.329 GB, free: 20.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/1.239, allocations: 37.38 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.24, allocations: 132.1 kB / 1.33 GB, free: 20.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/1.24, allocations: 321.2 kB / 1.33 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/1.24, allocations: 120.5 kB / 1.33 GB, free: 20.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/1.24, allocations: 169.2 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/1.241, allocations: 274.8 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.241, allocations: 4.906 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009186/1.242, allocations: 489 kB / 1.331 GB, free: 19.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/1.242, allocations: 94.91 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.242, allocations: 0.9062 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.242, allocations: 3.188 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/1.242, allocations: 27.8 kB / 1.331 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.242, allocations: 7.719 kB / 1.331 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/1.243, allocations: 62.58 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.243, allocations: 57.69 kB / 1.331 GB, free: 19.74 MB / 1.061 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.0002917/1.243, allocations: 191.3 kB / 1.331 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/1.243, allocations: 45.58 kB / 1.331 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/1.243, allocations: 45.28 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.243, allocations: 1.781 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.243, allocations: 0.8125 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.243, allocations: 1.312 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/1.246, allocations: 0.7507 MB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.246, allocations: 0.7031 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/1.246, allocations: 4.047 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.246, allocations: 5.469 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/1.246, allocations: 18.55 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.246, allocations: 1.172 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.246, allocations: 5.375 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/1.248, allocations: 479.5 kB / 1.333 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/1.248, allocations: 204.7 kB / 1.333 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/1.248, allocations: 10.86 kB / 1.333 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/1.249, allocations: 36.31 kB / 1.333 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/1.249, allocations: 7.328 kB / 1.333 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.249, allocations: 60.38 kB / 1.333 GB, free: 18.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005099/1.249, allocations: 294.3 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.249, allocations: 0 / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000581/1.25, allocations: 65.72 kB / 1.333 GB, free: 18.63 MB / 1.061 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.0001795/1.25, allocations: 113.8 kB / 1.333 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00156/1.252, allocations: 415.2 kB / 1.334 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.252, allocations: 1 kB / 1.334 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/1.253, allocations: 113.7 kB / 1.334 GB, free: 18.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/1.253, allocations: 40.14 kB / 1.334 GB, free: 18.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.255, allocations: 0.5972 MB / 1.334 GB, free: 17.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.255, allocations: 0.7659 MB / 1.335 GB, free: 17.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/1.255, allocations: 20.38 kB / 1.335 GB, free: 17.24 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/1.255, allocations: 1.375 kB / 1.335 GB, free: 17.24 MB / 1.061 GB Notification: Performance of Templates: time 0.012/1.267, allocations: 3.667 MB / 1.339 GB, free: 16.73 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.236860618009814]