Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001576/0.001576, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001711/0.001711, allocations: 170.6 kB / 22.46 MB, free: 5.359 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.717/2.717, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.793e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002829/0.002857, allocations: 1.515 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.004173, allocations: 0.5308 MB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.004238, allocations: 0 / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.146e-05/0.004329, allocations: 15.86 kB / 0.953 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.004442, allocations: 23.8 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.005372, allocations: 330.3 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.006, allocations: 487.4 kB / 0.9538 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.006047, allocations: 4 kB / 0.9538 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.006675, allocations: 363.6 kB / 0.9541 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.007014, allocations: 127.7 kB / 0.9542 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.007131, allocations: 24 kB / 0.9543 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.007229, allocations: 28 kB / 0.9543 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.007381, allocations: 123.6 kB / 0.9544 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.007573, allocations: 135.7 kB / 0.9545 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.008133, allocations: 458.8 kB / 0.955 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.00814, allocations: 4 kB / 0.955 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.31e-07/0.008141, allocations: 0 / 0.955 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.008155, allocations: 0 / 0.955 GB, free: 7.477 MB / 0.8575 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.001384/0.009539, allocations: 0.7911 MB / 0.9557 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.009575, allocations: 8.031 kB / 0.9557 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.009717, allocations: 56.7 kB / 0.9558 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.01014, allocations: 259.9 kB / 0.9561 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.01019, allocations: 24.36 kB / 0.9561 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.01027, allocations: 28.38 kB / 0.9561 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.01138, allocations: 226 kB / 0.9563 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01139, allocations: 192 / 0.9563 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.01142, allocations: 384 / 0.9563 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.01143, allocations: 4.375 kB / 0.9563 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.01229, allocations: 123.3 kB / 0.9564 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.01271, allocations: 285 kB / 0.9567 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.01389, allocations: 182.5 kB / 0.9569 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/0.01475, allocations: 124.8 kB / 0.957 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.01477, allocations: 0 / 0.957 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.01583, allocations: 231.1 kB / 0.9572 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.01584, allocations: 0 / 0.9572 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002918/0.01875, allocations: 0.5266 MB / 0.9577 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.01881, allocations: 59.41 kB / 0.9578 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.01927, allocations: 417.8 kB / 0.9582 GB, free: 4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.01935, allocations: 41.7 kB / 0.9582 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.01944, allocations: 97.44 kB / 0.9583 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.0195, allocations: 43.67 kB / 0.9584 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.01972, allocations: 129.5 kB / 0.9585 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01987, allocations: 322.8 kB / 0.9588 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.02023, allocations: 195.3 kB / 0.959 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.02061, allocations: 245.3 kB / 0.9592 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.02104, allocations: 267.7 kB / 0.9595 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02104, allocations: 4 kB / 0.9595 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009692/0.02201, allocations: 0.5548 MB / 0.96 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.02212, allocations: 83.36 kB / 0.9601 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.02213, allocations: 3.938 kB / 0.9601 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.02215, allocations: 8 kB / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.02232, allocations: 28.11 kB / 0.9601 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.02233, allocations: 3.938 kB / 0.9601 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.02286, allocations: 67.84 kB / 0.9602 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/0.02296, allocations: 63.97 kB / 0.9603 GB, free: 1.73 MB / 0.8575 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.0002496/0.02321, allocations: 191.7 kB / 0.9604 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.02328, allocations: 39.72 kB / 0.9605 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.02335, allocations: 43.69 kB / 0.9605 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.02336, allocations: 7.984 kB / 0.9605 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02336, allocations: 0 / 0.9605 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.02337, allocations: 3.938 kB / 0.9605 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.02582, allocations: 0.7099 MB / 0.9612 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02582, allocations: 3.938 kB / 0.9612 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.02586, allocations: 4 kB / 0.9612 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.02587, allocations: 4 kB / 0.9612 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.02591, allocations: 23.91 kB / 0.9613 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02591, allocations: 0 / 0.9613 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.02592, allocations: 3.938 kB / 0.9613 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.02793, allocations: 0.506 MB / 0.9618 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.0282, allocations: 129.5 kB / 0.9619 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.02831, allocations: 20.02 kB / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.02883, allocations: 31.97 kB / 0.9619 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.02887, allocations: 7.984 kB / 0.9619 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.02896, allocations: 67.95 kB / 0.962 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003276/0.02929, allocations: 291.1 kB / 0.9623 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.02929, allocations: 8 kB / 0.9623 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004071/0.0297, allocations: 63.98 kB / 0.9624 GB, free: 15.52 MB / 0.8731 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.0001846/0.02988, allocations: 128.9 kB / 0.9625 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.03136, allocations: 485.9 kB / 0.9629 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.03137, allocations: 384 / 0.9629 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/0.03224, allocations: 127.9 kB / 0.9631 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.03263, allocations: 33.61 kB / 0.9631 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.03429, allocations: 0.558 MB / 0.9636 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.03448, allocations: 167.4 kB / 0.9638 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.997e-05/0.03455, allocations: 17.14 kB / 0.9638 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.0346, allocations: 12.5 kB / 0.9638 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of SimCode: time 8.51e-07/0.0346, allocations: 0 / 0.9638 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.01158/0.04618, allocations: 5.869 MB / 0.9696 GB, free: 8.02 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: 7.833725173026323]