Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001523/0.001523, allocations: 119.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.001621/0.001621, allocations: 191.7 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.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.52 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.CalendarTimeMonthsPlus,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.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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 1.057 GB, free: 2.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003163/0.3483, allocations: 1.518 MB / 1.216 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3496, allocations: 0.5539 MB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.3497, allocations: 0 / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3498, allocations: 11.86 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3499, allocations: 28.38 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.351, allocations: 311 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.3516, allocations: 491.3 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.3517, allocations: 8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.3522, allocations: 275.6 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.3525, allocations: 139.7 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3527, allocations: 24 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.3528, allocations: 28 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3529, allocations: 123.6 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.3531, allocations: 183.1 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.3537, allocations: 422.4 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3537, allocations: 3.984 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3537, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3537, allocations: 3.938 kB / 1.218 GB, free: 12.93 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.001517/0.3552, allocations: 0.882 MB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3552, allocations: 12.03 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3554, allocations: 48.7 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.3558, allocations: 318.5 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.3559, allocations: 20.36 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.227e-05/0.356, allocations: 24.36 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3571, allocations: 213.9 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3571, allocations: 192 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3571, allocations: 11.92 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3571, allocations: 4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.358, allocations: 95.92 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.3585, allocations: 393.3 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3596, allocations: 158.5 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.3604, allocations: 108.8 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3605, allocations: 0 / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.3615, allocations: 227.1 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.3615, allocations: 0 / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002762/0.3643, allocations: 496.1 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3643, allocations: 63.39 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.3649, allocations: 409.9 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.3649, allocations: 37.7 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.365, allocations: 97.44 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3651, allocations: 43.62 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.3654, allocations: 129.5 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3655, allocations: 318.8 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.3658, allocations: 127.9 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.3661, allocations: 166.9 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3665, allocations: 275.7 kB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3665, allocations: 0 / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008922/0.3674, allocations: 488.6 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.3676, allocations: 95.31 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3676, allocations: 192 / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3676, allocations: 8 kB / 1.223 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3678, allocations: 23.91 kB / 1.223 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3678, allocations: 4 kB / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3683, allocations: 63.8 kB / 1.223 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/0.3684, allocations: 59.98 kB / 1.223 GB, free: 7.258 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.0002993/0.3687, allocations: 192 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.3688, allocations: 47.67 kB / 1.223 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.3688, allocations: 43.75 kB / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3688, allocations: 0 / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3688, allocations: 3.938 kB / 1.223 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3688, allocations: 0 / 1.223 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.3712, allocations: 0.756 MB / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3712, allocations: 0 / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.3713, allocations: 4 kB / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3713, allocations: 0 / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.3713, allocations: 19.97 kB / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3713, allocations: 0 / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3713, allocations: 0 / 1.224 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.3732, allocations: 479.4 kB / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.3735, allocations: 204.7 kB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.3736, allocations: 8 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.3741, allocations: 31.97 kB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3741, allocations: 11.98 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/0.3742, allocations: 59.91 kB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003203/0.3745, allocations: 295.1 kB / 1.225 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3745, allocations: 0 / 1.225 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003901/0.3749, allocations: 71.98 kB / 1.225 GB, free: 4.961 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.0001807/0.3751, allocations: 115.2 kB / 1.225 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3765, allocations: 412.9 kB / 1.226 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3765, allocations: 0 / 1.226 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.3773, allocations: 108.3 kB / 1.226 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3776, allocations: 39.27 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3794, allocations: 0.5956 MB / 1.227 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3798, allocations: 0.7669 MB / 1.227 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.3799, allocations: 15.44 kB / 1.227 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of SimCode: time 1.092e-06/0.3799, allocations: 0 / 1.227 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.006568/0.3864, allocations: 3.684 MB / 1.231 GB, free: 15.1 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 10.680807803058997]