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.001268/0.001268, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001285/0.001285, allocations: 186 kB / 20.78 MB, free: 1.547 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.595/2.595, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 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.002125/0.002125, allocations: 71.88 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3393, allocations: 160.8 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002758/0.342, allocations: 1.514 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3434, allocations: 0.5549 MB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.3434, allocations: 0 / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3435, allocations: 7.922 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3437, allocations: 35.58 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.3445, allocations: 315.2 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.345, allocations: 483.4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.345, allocations: 8 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.3454, allocations: 275.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.3457, allocations: 147.6 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.3458, allocations: 28 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.3458, allocations: 24 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.346, allocations: 115.6 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3461, allocations: 179.1 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.3466, allocations: 434.4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3466, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3466, allocations: 4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3466, allocations: 0 / 1.22 GB, free: 11.27 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.001319/0.3479, allocations: 0.882 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.348, allocations: 8.031 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3481, allocations: 48.7 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3485, allocations: 318.5 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.3485, allocations: 16.38 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.3486, allocations: 32.36 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.3496, allocations: 210 kB / 1.222 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3496, allocations: 192 / 1.222 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.3496, allocations: 7.938 kB / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3496, allocations: 0 / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.3503, allocations: 103.9 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3508, allocations: 393.2 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009638/0.3517, allocations: 174.4 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.3524, allocations: 100.8 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3525, allocations: 4 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009143/0.3534, allocations: 221.7 kB / 1.223 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3534, allocations: 0 / 1.223 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002393/0.3558, allocations: 496.9 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3558, allocations: 55.41 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.3563, allocations: 413.9 kB / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.3564, allocations: 37.7 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3565, allocations: 97.44 kB / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.3566, allocations: 43.61 kB / 1.224 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.3568, allocations: 129.5 kB / 1.224 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3569, allocations: 326.8 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.3572, allocations: 115.9 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3575, allocations: 170.9 kB / 1.224 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.3578, allocations: 275.1 kB / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3578, allocations: 3.938 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008358/0.3587, allocations: 492.9 kB / 1.225 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.3588, allocations: 91.31 kB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3588, allocations: 0 / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.3588, allocations: 11.97 kB / 1.225 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.359, allocations: 23.92 kB / 1.225 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.359, allocations: 4 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.3594, allocations: 63.8 kB / 1.225 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/0.3595, allocations: 60.02 kB / 1.225 GB, free: 5.594 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.0002779/0.3598, allocations: 198.8 kB / 1.225 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.3599, allocations: 43.7 kB / 1.226 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.36, allocations: 39.75 kB / 1.226 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.36, allocations: 0 / 1.226 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.36, allocations: 0 / 1.226 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.36, allocations: 3.984 kB / 1.226 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.3622, allocations: 0.7482 MB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3622, allocations: 0 / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.3622, allocations: 4 kB / 1.226 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3622, allocations: 0 / 1.226 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.3623, allocations: 23.97 kB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3623, allocations: 4 kB / 1.226 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3623, allocations: 4 kB / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3639, allocations: 480.8 kB / 1.227 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.3642, allocations: 200.7 kB / 1.227 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.3643, allocations: 12 kB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.3647, allocations: 31.95 kB / 1.227 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3647, allocations: 7.984 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.3648, allocations: 59.98 kB / 1.227 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003439/0.3652, allocations: 291.1 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004044/0.3656, allocations: 71.98 kB / 1.227 GB, free: 3.305 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.0001866/0.3658, allocations: 117.1 kB / 1.228 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.367, allocations: 404 kB / 1.228 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.367, allocations: 384 / 1.228 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.3677, allocations: 119.8 kB / 1.228 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3682, allocations: 29.58 kB / 1.228 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3699, allocations: 0.555 MB / 1.229 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.3704, allocations: 0.7708 MB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.3704, allocations: 13.08 kB / 1.229 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3705, allocations: 19.36 kB / 1.229 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of SimCode: time 1.232e-06/0.3705, allocations: 4 kB / 1.229 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.009616/0.3801, allocations: 4.98 MB / 1.234 GB, free: 12.12 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.147702447138727]