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.0007138/0.0007138, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009965/0.00171, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006615/0.0006615, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008295/0.001491, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9696/0.9696, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09363/1.063, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5469/2.393, allocations: 123.3 MB / 0.728 GB, free: 5.805 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.593e-06/1.593e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.251e-05, allocations: 4.547 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001857/0.00187, allocations: 1.613 MB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.00288, allocations: 0.5565 MB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.002929, allocations: 0 / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.00298, allocations: 9.156 kB / 0.7314 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.00308, allocations: 29.81 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.003594, allocations: 335.2 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.004011, allocations: 0.4893 MB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.004042, allocations: 4 kB / 0.7323 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.004392, allocations: 375.6 kB / 0.7326 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.004584, allocations: 133.5 kB / 0.7327 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.004631, allocations: 28 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.004676, allocations: 28 kB / 0.7328 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.004759, allocations: 100.6 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.004852, allocations: 99.75 kB / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.005349, allocations: 335.8 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.188e-05/0.005371, allocations: 0 / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.005373, allocations: 0.75 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.005396, allocations: 0 / 0.7333 GB, free: 496 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.001271/0.006667, allocations: 0.8229 MB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.006714, allocations: 8.031 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.006836, allocations: 48.88 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.00719, allocations: 240 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.007229, allocations: 16.38 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.007279, allocations: 25.05 kB / 0.7344 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.007707, allocations: 187 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.007717, allocations: 192 / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.007736, allocations: 4.375 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.007743, allocations: 2.156 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.007832, allocations: 39.36 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.00807, allocations: 117.7 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.008237, allocations: 87.92 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.008305, allocations: 44.38 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.00833, allocations: 10.42 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.008517, allocations: 153.4 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.008519, allocations: 0 / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003412/0.00886, allocations: 195.8 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.008902, allocations: 63.39 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.009116, allocations: 331.7 kB / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.009157, allocations: 38.52 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.009208, allocations: 101.4 kB / 0.7357 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.009243, allocations: 31.78 kB / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.009356, allocations: 114 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.009447, allocations: 331.5 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.009611, allocations: 147.3 kB / 0.7363 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.009763, allocations: 214.7 kB / 0.7365 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.009974, allocations: 247.2 kB / 0.7368 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.009978, allocations: 0 / 0.7368 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003775/0.01036, allocations: 431.6 kB / 0.7372 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.01042, allocations: 79.97 kB / 0.7373 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01043, allocations: 0 / 0.7373 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01044, allocations: 5.219 kB / 0.7373 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01059, allocations: 47.89 kB / 0.7373 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01059, allocations: 4 kB / 0.7373 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.01076, allocations: 36.48 kB / 0.7374 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.01081, allocations: 54.83 kB / 0.7374 GB, free: 12.02 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 0.000148/0.01096, allocations: 146.5 kB / 0.7376 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.011, allocations: 23.97 kB / 0.7376 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.01104, allocations: 39.67 kB / 0.7376 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01104, allocations: 0 / 0.7376 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01105, allocations: 0 / 0.7376 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.01105, allocations: 10.73 kB / 0.7376 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.01155, allocations: 375.4 kB / 0.738 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01155, allocations: 4 kB / 0.738 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.01159, allocations: 4 kB / 0.738 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.01174, allocations: 131.4 kB / 0.7381 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01175, allocations: 0 / 0.7381 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01177, allocations: 12.91 kB / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01177, allocations: 3.938 kB / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01177, allocations: 0 / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.01201, allocations: 243.6 kB / 0.7384 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.01205, allocations: 12 kB / 0.7384 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.01224, allocations: 33.06 kB / 0.7384 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.01227, allocations: 13.36 kB / 0.7384 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.01231, allocations: 47.97 kB / 0.7385 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001074/0.01242, allocations: 136.7 kB / 0.7386 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01242, allocations: 0 / 0.7386 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002125/0.01263, allocations: 69.08 kB / 0.7387 GB, free: 10.72 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 0.0001132/0.01274, allocations: 95.5 kB / 0.7388 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.01319, allocations: 400.3 kB / 0.7391 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/0.0132, allocations: 13.06 kB / 0.7391 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.149e-05/0.0133, allocations: 60.95 kB / 0.7392 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01355, allocations: 69.55 kB / 0.7393 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.01453, allocations: 460.8 kB / 0.7397 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.01458, allocations: 87.81 kB / 0.7398 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01462, allocations: 15.45 kB / 0.7398 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01479, allocations: 114.3 kB / 0.7399 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/0.01479, allocations: 0.7812 kB / 0.7399 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.00726/0.02205, allocations: 5.361 MB / 0.7452 GB, free: 4.031 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.006107627414167]