Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 443.5 MB / 0.7293 GB, free: 14.58 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.91 kB / 1.057 GB, free: 2.105 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3434, allocations: 160.7 MB / 1.214 GB, free: 1.086 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003194/0.3466, allocations: 1.533 MB / 1.216 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.348, allocations: 0.5518 MB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.3481, allocations: 4 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.3482, allocations: 11.86 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3483, allocations: 27.64 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.3492, allocations: 311.1 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.3498, allocations: 483.4 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.3499, allocations: 7.984 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.3504, allocations: 275.6 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.3507, allocations: 151.6 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.666e-05/0.3508, allocations: 24 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.3509, allocations: 28 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.351, allocations: 116.4 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3513, allocations: 183.1 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.3518, allocations: 426.4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3518, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3518, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.3518, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 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.00146/0.3533, allocations: 0.882 MB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3533, allocations: 12.03 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3534, allocations: 52.69 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.354, allocations: 314.6 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.354, allocations: 20.36 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.3541, allocations: 24.36 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3552, allocations: 213.9 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3552, allocations: 192 / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.3552, allocations: 11.92 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3552, allocations: 4 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.356, allocations: 95.92 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3565, allocations: 393.2 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3577, allocations: 162.5 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008462/0.3585, allocations: 112.7 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3586, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.3596, allocations: 225.8 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3596, allocations: 0 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002808/0.3625, allocations: 489 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3625, allocations: 55.41 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.363, allocations: 421.8 kB / 1.221 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.363, allocations: 41.64 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.3631, allocations: 97.44 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.3632, allocations: 47.61 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3634, allocations: 125.5 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3636, allocations: 322.8 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.3639, allocations: 115.9 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3642, allocations: 170.9 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3646, allocations: 279.3 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3646, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008925/0.3655, allocations: 484.7 kB / 1.223 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3656, allocations: 91.31 kB / 1.223 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3656, allocations: 4 kB / 1.223 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3656, allocations: 4 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3658, allocations: 24.09 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3658, allocations: 8 kB / 1.223 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.3663, allocations: 59.8 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.3664, allocations: 63.98 kB / 1.223 GB, free: 7.305 MB / 0.9669 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.0002431/0.3667, allocations: 188 kB / 1.223 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.3668, allocations: 51.67 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3668, allocations: 39.75 kB / 1.223 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3668, allocations: 4 kB / 1.223 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3668, allocations: 0 / 1.223 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3668, allocations: 0 / 1.223 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.3692, allocations: 0.7521 MB / 1.224 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3693, allocations: 4 kB / 1.224 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.3693, allocations: 8 kB / 1.224 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3693, allocations: 0 / 1.224 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.3693, allocations: 19.97 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3693, allocations: 0 / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3693, allocations: 0 / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3712, allocations: 482.2 kB / 1.225 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.3715, allocations: 208.6 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.3716, allocations: 8 kB / 1.225 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.3721, allocations: 35.95 kB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3721, allocations: 8 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.3722, allocations: 55.97 kB / 1.225 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003177/0.3725, allocations: 295.1 kB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3725, allocations: 0 / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003632/0.3729, allocations: 67.98 kB / 1.225 GB, free: 5.012 MB / 0.9669 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.0001954/0.3731, allocations: 115.2 kB / 1.225 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.3745, allocations: 410.4 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3745, allocations: 3.938 kB / 1.226 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.3753, allocations: 107.9 kB / 1.226 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3757, allocations: 37.84 kB / 1.226 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3773, allocations: 0.59 MB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.3778, allocations: 0.7708 MB / 1.227 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.3779, allocations: 19.42 kB / 1.227 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/0.3779, allocations: 0 / 1.227 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.006211/0.3841, allocations: 3.678 MB / 1.231 GB, free: 15.15 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.875711259897798]