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.001471/0.001471, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.001463/0.001463, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.284/3.284, allocations: 0.49 GB / 0.7915 GB, free: 33.49 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.00205/0.00205, allocations: 64.17 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002828/0.3719, allocations: 1.556 MB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3731, allocations: 0.5405 MB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.3732, allocations: 0 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.4e-05/0.3733, allocations: 7.875 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3734, allocations: 31.78 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007377/0.3741, allocations: 312.3 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.3746, allocations: 483.6 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.3747, allocations: 8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.3751, allocations: 279.5 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.3753, allocations: 151.4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.3754, allocations: 24 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.3755, allocations: 28 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3756, allocations: 115.7 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3758, allocations: 183 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3762, allocations: 422.4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3763, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3763, allocations: 7.938 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3763, allocations: 0 / 1.325 GB, free: 14.73 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.0013/0.3776, allocations: 0.8833 MB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3776, allocations: 15.98 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.3777, allocations: 48.7 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.3781, allocations: 314.6 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.3782, allocations: 16.36 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.3782, allocations: 32.3 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3793, allocations: 215.6 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3793, allocations: 192 / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3793, allocations: 7.938 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3793, allocations: 4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.3802, allocations: 103.9 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3807, allocations: 389.2 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3818, allocations: 166.4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.3827, allocations: 104.8 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3827, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3837, allocations: 231.1 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3837, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00286/0.3866, allocations: 487.6 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.3867, allocations: 63.39 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.3871, allocations: 409.9 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.3872, allocations: 41.69 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.3873, allocations: 89.45 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3874, allocations: 43.69 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.3876, allocations: 129.5 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3877, allocations: 322.8 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.388, allocations: 123.9 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.3883, allocations: 169.9 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.3888, allocations: 271 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3888, allocations: 4 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009063/0.3897, allocations: 488.6 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.3898, allocations: 99.23 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3898, allocations: 8.188 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3898, allocations: 0 / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.39, allocations: 19.98 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.39, allocations: 7.938 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.3905, allocations: 55.84 kB / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.3906, allocations: 63.97 kB / 1.33 GB, free: 9.066 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.0002402/0.3908, allocations: 193.8 kB / 1.331 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.3909, allocations: 47.59 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.391, allocations: 39.75 kB / 1.331 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.391, allocations: 7.984 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.391, allocations: 0 / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.391, allocations: 0 / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.3935, allocations: 0.7487 MB / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3935, allocations: 0 / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.3935, allocations: 11.94 kB / 1.331 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.3935, allocations: 3.984 kB / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3935, allocations: 19.92 kB / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3935, allocations: 0 / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3935, allocations: 0 / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3955, allocations: 479.4 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.3957, allocations: 200.7 kB / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.3958, allocations: 19.98 kB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.3963, allocations: 27.97 kB / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3964, allocations: 11.98 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.3964, allocations: 51.98 kB / 1.332 GB, free: 7.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003493/0.3968, allocations: 295.1 kB / 1.332 GB, free: 6.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3968, allocations: 0 / 1.332 GB, free: 6.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003949/0.3972, allocations: 67.98 kB / 1.333 GB, free: 6.77 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.0001998/0.3974, allocations: 123.1 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.3988, allocations: 408.9 kB / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3988, allocations: 0 / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.3996, allocations: 116.2 kB / 1.333 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.4, allocations: 31.55 kB / 1.333 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4016, allocations: 0.5509 MB / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.402, allocations: 0.7744 MB / 1.334 GB, free: 4.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.4021, allocations: 13.08 kB / 1.335 GB, free: 4.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.4021, allocations: 19.44 kB / 1.335 GB, free: 4.652 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4021, allocations: 3.938 kB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of Templates: time 0.009202/0.4113, allocations: 4.948 MB / 1.339 GB, free: 15.6 MB / 1.045 GB " [Timeout remaining time 300] 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/jenkins/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: 9.170577822253108]