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.001705/0.001705, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002105/0.002105, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.758 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.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.002028/0.002028, allocations: 71.58 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4049, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003235/0.4082, allocations: 1.51 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4096, allocations: 0.5267 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.4097, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.4098, allocations: 7.922 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.4099, allocations: 27.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.4108, allocations: 329.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.4114, allocations: 487.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4115, allocations: 4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.4119, allocations: 283.6 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.4121, allocations: 127.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.4122, allocations: 31.94 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.4123, allocations: 32 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.4125, allocations: 111.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.4127, allocations: 155.3 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.4132, allocations: 434.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4132, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4132, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4132, allocations: 0 / 1.331 GB, free: 12.93 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.001316/0.4145, allocations: 0.8028 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4145, allocations: 12.03 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4147, allocations: 52.7 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.4151, allocations: 260.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.4151, allocations: 16.38 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.4152, allocations: 32.36 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.4162, allocations: 226 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4162, allocations: 192 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.4162, allocations: 7.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4162, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.417, allocations: 119.9 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.4175, allocations: 281.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4185, allocations: 186.4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.4192, allocations: 116.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.4192, allocations: 4.359 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009686/0.4202, allocations: 235.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4202, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002656/0.4228, allocations: 0.5298 MB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.4229, allocations: 59.41 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.4234, allocations: 409.9 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.4234, allocations: 45.69 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.4235, allocations: 93.44 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.4236, allocations: 51.61 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.4238, allocations: 133.4 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.424, allocations: 322.8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.4243, allocations: 187.3 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.4247, allocations: 255.9 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.4252, allocations: 276 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4252, allocations: 0 / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009856/0.4261, allocations: 0.5509 MB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.722e-05/0.4262, allocations: 79.38 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4263, allocations: 8.188 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4263, allocations: 7.922 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4265, allocations: 27.92 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4265, allocations: 4 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.4269, allocations: 59.84 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.427, allocations: 63.98 kB / 1.336 GB, free: 7.156 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.0002683/0.4273, allocations: 200.2 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.4274, allocations: 43.72 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.4274, allocations: 43.62 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4274, allocations: 0 / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4275, allocations: 0 / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4275, allocations: 7.984 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.4297, allocations: 0.7157 MB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4297, allocations: 3.938 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.4297, allocations: 4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.4297, allocations: 4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.4298, allocations: 23.97 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4298, allocations: 0 / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4298, allocations: 0 / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4315, allocations: 0.5072 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.4318, allocations: 137.5 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.4318, allocations: 8 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.4323, allocations: 39.97 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.4323, allocations: 7.984 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.4324, allocations: 63.97 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003413/0.4327, allocations: 295.1 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4327, allocations: 0 / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004004/0.4331, allocations: 71.98 kB / 1.338 GB, free: 4.934 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.0001746/0.4333, allocations: 116.5 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.4347, allocations: 497.8 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4347, allocations: 0 / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.4354, allocations: 127.8 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4358, allocations: 35.23 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.4374, allocations: 0.6037 MB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.4376, allocations: 170.8 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.4376, allocations: 15.44 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.4376, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of Templates: time 0.006854/0.4445, allocations: 3.695 MB / 1.344 GB, free: 15.54 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/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: 11.443926745094359]