Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0006949/0.0006949, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.00202, 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.00105/0.00105, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002417, 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.938/0.938, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08679/1.025, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.833/1.833, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5136/2.347, allocations: 123.3 MB / 0.7283 GB, free: 5.707 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.CalendarTimeMonthsMinus,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.61e-05, allocations: 5.266 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002114/0.00213, allocations: 1.617 MB / 0.7312 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.003086, allocations: 0.5642 MB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.00313, allocations: 0 / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.003189, allocations: 8.375 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.003282, allocations: 27.38 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.003751, allocations: 327.7 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.004127, allocations: 0.4923 MB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.004165, allocations: 4 kB / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.004508, allocations: 368.7 kB / 0.7329 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.004703, allocations: 140.2 kB / 0.7331 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.004754, allocations: 28 kB / 0.7331 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.004806, allocations: 24 kB / 0.7331 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.004892, allocations: 100.3 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.004983, allocations: 101.3 kB / 0.7333 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.005241, allocations: 339 kB / 0.7336 GB, free: 372 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.005251, allocations: 0 / 0.7336 GB, free: 372 kB / 0.698 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005252, allocations: 0 / 0.7336 GB, free: 372 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.005262, allocations: 0.6562 kB / 0.7336 GB, free: 372 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.0008217/0.006084, allocations: 0.8218 MB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006116, allocations: 8.031 kB / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.006206, allocations: 50.34 kB / 0.7345 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.00643, allocations: 236.1 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.006461, allocations: 16.36 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.006509, allocations: 28.36 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.006811, allocations: 178.7 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006817, allocations: 192 / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.006836, allocations: 13.39 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006841, allocations: 384 / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.006913, allocations: 40.98 kB / 0.735 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.007068, allocations: 112.9 kB / 0.7351 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.007216, allocations: 94.59 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.007285, allocations: 50.16 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.007303, allocations: 4 kB / 0.7352 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.007466, allocations: 152.7 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.007467, allocations: 0 / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003041/0.007771, allocations: 200.5 kB / 0.7356 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.007803, allocations: 64.84 kB / 0.7356 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.00797, allocations: 327.3 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.008004, allocations: 41.69 kB / 0.736 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.008049, allocations: 97.44 kB / 0.7361 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.008081, allocations: 36.69 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.008189, allocations: 117.4 kB / 0.7362 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.008261, allocations: 323.3 kB / 0.7365 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.008399, allocations: 151.9 kB / 0.7367 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.008543, allocations: 213.2 kB / 0.7369 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.00899, allocations: 242.4 kB / 0.7371 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008993, allocations: 0 / 0.7371 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003348/0.009328, allocations: 435.3 kB / 0.7375 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.009385, allocations: 80.81 kB / 0.7376 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00939, allocations: 0 / 0.7376 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.009402, allocations: 4 kB / 0.7376 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.009524, allocations: 43.91 kB / 0.7377 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.009528, allocations: 6.75 kB / 0.7377 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.009682, allocations: 35.92 kB / 0.7377 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.009728, allocations: 55.91 kB / 0.7377 GB, free: 11.9 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.0001047/0.009833, allocations: 146.5 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.009868, allocations: 31.58 kB / 0.7379 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.009905, allocations: 35.69 kB / 0.738 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.009907, allocations: 0 / 0.738 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.009909, allocations: 0 / 0.738 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.009913, allocations: 4 kB / 0.738 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.01045, allocations: 374.3 kB / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01045, allocations: 4 kB / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.01048, allocations: 9.766 kB / 0.7383 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.01061, allocations: 127.5 kB / 0.7384 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01061, allocations: 0 / 0.7384 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.01063, allocations: 11.97 kB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01063, allocations: 5.438 kB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01063, allocations: 0 / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.01084, allocations: 244.3 kB / 0.7387 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.01088, allocations: 15.98 kB / 0.7387 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.01105, allocations: 32.88 kB / 0.7387 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.01108, allocations: 8.828 kB / 0.7388 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.01112, allocations: 43.98 kB / 0.7388 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.624e-05/0.0112, allocations: 140.7 kB / 0.7389 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.0112, allocations: 1 kB / 0.7389 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001772/0.01138, allocations: 64 kB / 0.739 GB, free: 10.61 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 9.026e-05/0.01147, allocations: 99.25 kB / 0.7391 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.01184, allocations: 402.6 kB / 0.7395 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.01185, allocations: 4 kB / 0.7395 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.01194, allocations: 72.91 kB / 0.7395 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01216, allocations: 129.3 kB / 0.7397 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.01299, allocations: 463.2 kB / 0.7401 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.01305, allocations: 83.81 kB / 0.7402 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.01309, allocations: 15.45 kB / 0.7402 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.01326, allocations: 118.9 kB / 0.7403 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.01326, allocations: 1.562 kB / 0.7403 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.006386/0.01965, allocations: 5.326 MB / 0.7455 GB, free: 3.852 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.812692480161786]