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.001375/0.001375, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001985/0.001985, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.338/3.338, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002064/0.002064, allocations: 71.06 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4536, allocations: 176.1 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003324/0.457, allocations: 1.521 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.4584, allocations: 0.5345 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.4585, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.4586, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.4587, allocations: 27.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4598, allocations: 321.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.4604, allocations: 491.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.4604, allocations: 11.98 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.4608, allocations: 279.6 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.4611, allocations: 144.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-05/0.4612, allocations: 28 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.4613, allocations: 28 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.4614, allocations: 119.6 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.4616, allocations: 155.3 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.462, allocations: 426.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.462, allocations: 7.984 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.455e-06/0.462, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.4621, allocations: 0 / 1.331 GB, free: 13.03 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.001363/0.4634, allocations: 0.795 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4635, allocations: 8.031 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.4636, allocations: 52.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.464, allocations: 256.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.4641, allocations: 16.36 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.4642, allocations: 36.3 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4652, allocations: 211.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4652, allocations: 192 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.4652, allocations: 3.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4652, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.4661, allocations: 103.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4665, allocations: 281.1 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4676, allocations: 170.4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.4684, allocations: 104.8 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4684, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.4695, allocations: 219.2 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.4695, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002858/0.4723, allocations: 494.8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.4724, allocations: 63.41 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.4729, allocations: 413.9 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.473, allocations: 41.69 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.4731, allocations: 89.45 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.4732, allocations: 47.69 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.4734, allocations: 125.5 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4735, allocations: 322.8 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4739, allocations: 191.3 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.4743, allocations: 245.2 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.4747, allocations: 275 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4747, allocations: 4 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000977/0.4757, allocations: 0.5523 MB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.4758, allocations: 79.38 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4758, allocations: 0 / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4758, allocations: 7.938 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.476, allocations: 19.92 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.476, allocations: 4 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.4766, allocations: 68.02 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.4767, allocations: 59.98 kB / 1.336 GB, free: 7.414 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.0002943/0.4769, allocations: 192.2 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.477, allocations: 43.7 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/0.4771, allocations: 47.61 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4771, allocations: 0 / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4771, allocations: 4 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4771, allocations: 4 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.4795, allocations: 0.6703 MB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4795, allocations: 3.938 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.4796, allocations: 7.984 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4796, allocations: 4 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.4796, allocations: 19.92 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4796, allocations: 0 / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4796, allocations: 0 / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.4815, allocations: 494 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.4819, allocations: 141.4 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.482, allocations: 8 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.4825, allocations: 31.95 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4825, allocations: 11.98 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.4826, allocations: 51.98 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003245/0.4829, allocations: 295.1 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4829, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004172/0.4833, allocations: 67.98 kB / 1.338 GB, free: 5.285 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.000179/0.4835, allocations: 119.2 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.485, allocations: 477.8 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.485, allocations: 0 / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.4858, allocations: 120.2 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4862, allocations: 29.58 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4878, allocations: 0.5471 MB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.488, allocations: 166.8 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.4881, allocations: 13.08 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4881, allocations: 15.44 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4881, allocations: 0 / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of Templates: time 0.01187/0.5, allocations: 6.085 MB / 1.346 GB, free: 13.58 MB / 1.045 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 -s cvode -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: 9.624881477997405]