Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001656/0.001656, allocations: 120.1 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.00188/0.00188, 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.482/1.482, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.655/2.655, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5763 GB " [Timeout remaining time 176] 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.91 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3425, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002918/0.3455, allocations: 1.514 MB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3469, allocations: 0.5655 MB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.3469, allocations: 0 / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.674e-05/0.347, allocations: 7.922 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.3471, allocations: 32.31 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.3479, allocations: 311 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.3485, allocations: 479.4 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.3485, allocations: 11.97 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.3489, allocations: 275.6 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.3492, allocations: 143.7 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-05/0.3493, allocations: 24 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.3494, allocations: 28 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3495, allocations: 115.6 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.3498, allocations: 183.1 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.3502, allocations: 430.4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3502, allocations: 0 / 1.218 GB, free: 12.89 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.001345/0.3516, allocations: 0.8781 MB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3516, allocations: 12.03 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.3517, allocations: 52.69 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.3522, allocations: 322.5 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.3522, allocations: 20.36 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.3523, allocations: 28.36 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3534, allocations: 206 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3534, allocations: 4.172 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.3534, allocations: 7.922 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3534, allocations: 4 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.3542, allocations: 103.9 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.3547, allocations: 389.3 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.3559, allocations: 170.4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.3567, allocations: 108.6 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3567, allocations: 0 / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3577, allocations: 219.2 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3577, allocations: 0 / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002804/0.3605, allocations: 0.4921 MB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.3606, allocations: 55.41 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.361, allocations: 413.9 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3611, allocations: 37.7 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3612, allocations: 97.44 kB / 1.221 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.3613, allocations: 51.55 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3615, allocations: 129.5 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3617, allocations: 322.8 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3619, allocations: 111.9 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.3622, allocations: 170.9 kB / 1.222 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3627, allocations: 279.6 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3627, allocations: 0 / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008828/0.3635, allocations: 488.8 kB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3636, allocations: 95.31 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3636, allocations: 0 / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3637, allocations: 4 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3638, allocations: 23.91 kB / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3638, allocations: 4 kB / 1.223 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.3643, allocations: 59.8 kB / 1.223 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.3644, allocations: 68.08 kB / 1.223 GB, free: 7.215 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.0002275/0.3646, allocations: 188 kB / 1.223 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3648, allocations: 43.69 kB / 1.223 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.3648, allocations: 43.75 kB / 1.223 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3648, allocations: 0 / 1.223 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3648, allocations: 0 / 1.223 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3649, allocations: 0 / 1.223 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3672, allocations: 0.7521 MB / 1.224 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3672, allocations: 0 / 1.224 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.3673, allocations: 4 kB / 1.224 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3673, allocations: 3.984 kB / 1.224 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.3673, allocations: 23.97 kB / 1.224 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3673, allocations: 4 kB / 1.224 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3673, allocations: 0 / 1.224 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3692, allocations: 483.4 kB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.3695, allocations: 204.7 kB / 1.225 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.3695, allocations: 8 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.3701, allocations: 31.95 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3701, allocations: 8 kB / 1.225 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.3702, allocations: 59.97 kB / 1.225 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000391/0.3706, allocations: 295.1 kB / 1.225 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 1.225 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003978/0.371, allocations: 71.98 kB / 1.225 GB, free: 4.922 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.0001608/0.3711, allocations: 115.2 kB / 1.225 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.3725, allocations: 409.1 kB / 1.226 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3725, allocations: 384 / 1.226 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.3734, allocations: 111.9 kB / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3738, allocations: 49.84 kB / 1.226 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3754, allocations: 0.5879 MB / 1.227 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.3759, allocations: 0.7747 MB / 1.227 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.376, allocations: 19.42 kB / 1.227 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.376, allocations: 0 / 1.227 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.006363/0.3823, allocations: 3.663 MB / 1.231 GB, free: 15.07 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.823168120114133]