Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001058/0.001058, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002542, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000981/0.000981, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002326, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9392/0.9392, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0989/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4816/2.298, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.826e-06/1.021e-05, allocations: 4.281 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002066/0.002077, allocations: 1.618 MB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.002919, allocations: 0.5637 MB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.002959, allocations: 0 / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.827e-05/0.003007, allocations: 12.84 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.00309, allocations: 20.64 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.00353, allocations: 331.8 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.003897, allocations: 491.5 kB / 0.7326 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.003925, allocations: 5.531 kB / 0.7326 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.004244, allocations: 376.2 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.004431, allocations: 135 kB / 0.7331 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.004484, allocations: 28.88 kB / 0.7331 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.004534, allocations: 24 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.004619, allocations: 108.5 kB / 0.7332 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/0.004703, allocations: 95.81 kB / 0.7333 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.004945, allocations: 339.6 kB / 0.7336 GB, free: 404 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.004955, allocations: 0 / 0.7336 GB, free: 404 kB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004955, allocations: 0.9062 kB / 0.7336 GB, free: 404 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.004965, allocations: 3.938 kB / 0.7336 GB, free: 400 kB / 0.698 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.0007841/0.00575, allocations: 0.8071 MB / 0.7344 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.00578, allocations: 12.03 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.005856, allocations: 52.86 kB / 0.7345 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.006059, allocations: 240 kB / 0.7347 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.006087, allocations: 13 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.006133, allocations: 29.8 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.006424, allocations: 185.3 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.006431, allocations: 1.531 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006447, allocations: 384 / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.006452, allocations: 4.375 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.006523, allocations: 45.05 kB / 0.735 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.006674, allocations: 112.9 kB / 0.7351 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.006817, allocations: 98.53 kB / 0.7352 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.00688, allocations: 47.11 kB / 0.7352 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.006899, allocations: 7.938 kB / 0.7352 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.007051, allocations: 150.6 kB / 0.7354 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 8.21e-07/0.007052, allocations: 0 / 0.7354 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002921/0.007344, allocations: 200.1 kB / 0.7356 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.007375, allocations: 63.34 kB / 0.7356 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.007544, allocations: 327.3 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.007578, allocations: 44.14 kB / 0.736 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.007621, allocations: 93.44 kB / 0.7361 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.00765, allocations: 39.7 kB / 0.7361 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.00775, allocations: 113.4 kB / 0.7362 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.007816, allocations: 322.8 kB / 0.7365 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.007951, allocations: 155.3 kB / 0.7367 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.008089, allocations: 211.3 kB / 0.7369 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.008261, allocations: 248.7 kB / 0.7371 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008264, allocations: 0 / 0.7371 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003159/0.00858, allocations: 424.9 kB / 0.7375 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.00888, allocations: 83.38 kB / 0.7376 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008885, allocations: 4 kB / 0.7376 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.008895, allocations: 4 kB / 0.7376 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.009009, allocations: 43.89 kB / 0.7376 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.009012, allocations: 3.375 kB / 0.7377 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.009163, allocations: 43.92 kB / 0.7377 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.009208, allocations: 47.92 kB / 0.7377 GB, free: 11.93 MB / 0.7136 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 9.751e-05/0.009305, allocations: 146.5 kB / 0.7379 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.00934, allocations: 27.91 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.009376, allocations: 39.67 kB / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009378, allocations: 0 / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.009379, allocations: 0.7188 kB / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.009382, allocations: 0 / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.009756, allocations: 377.2 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009758, allocations: 0 / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.009779, allocations: 4 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.009899, allocations: 131.5 kB / 0.7384 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.009901, allocations: 4.688 kB / 0.7384 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.009919, allocations: 16.88 kB / 0.7385 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009921, allocations: 3.938 kB / 0.7385 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009922, allocations: 0 / 0.7385 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.01011, allocations: 239.6 kB / 0.7387 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.01015, allocations: 12 kB / 0.7387 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.01031, allocations: 30.16 kB / 0.7387 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.01033, allocations: 15.91 kB / 0.7387 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.01037, allocations: 51.97 kB / 0.7388 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.447e-05/0.01045, allocations: 137.9 kB / 0.7389 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01045, allocations: 0 / 0.7389 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001788/0.01063, allocations: 63.98 kB / 0.739 GB, free: 10.64 MB / 0.7136 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 8.065e-05/0.01071, allocations: 98.47 kB / 0.7391 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.01107, allocations: 406.6 kB / 0.7395 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01108, allocations: 7.938 kB / 0.7395 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.01116, allocations: 72.77 kB / 0.7395 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01136, allocations: 121.6 kB / 0.7397 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.01218, allocations: 464.3 kB / 0.7401 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.01222, allocations: 87.8 kB / 0.7402 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.01225, allocations: 12.38 kB / 0.7402 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.01241, allocations: 118.4 kB / 0.7403 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.01241, allocations: 0 / 0.7403 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of Templates: time 0.005882/0.01829, allocations: 5.333 MB / 0.7455 GB, free: 3.879 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.814985631033778]