Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.0007833/0.0007833, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001855, 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.0006778/0.0006778, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009794/0.001657, 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.9504/0.9504, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08691/1.037, allocations: 53.65 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.849/1.849, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.524/2.373, allocations: 123.3 MB / 0.7283 GB, free: 5.695 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.504e-05, allocations: 6.938 kB / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003018/0.003043, allocations: 1.617 MB / 0.7312 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004445, allocations: 0.5521 MB / 0.7317 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.004516, allocations: 4 kB / 0.7317 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.828e-05/0.004595, allocations: 11.86 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.004718, allocations: 29.48 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.005554, allocations: 320.2 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.006162, allocations: 490.6 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.006208, allocations: 12.47 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.006729, allocations: 373.3 kB / 0.7329 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.007039, allocations: 139.4 kB / 0.7331 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.007119, allocations: 24 kB / 0.7331 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.007198, allocations: 28 kB / 0.7331 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.007313, allocations: 104.9 kB / 0.7332 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.007443, allocations: 99.81 kB / 0.7333 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.00794, allocations: 331 kB / 0.7336 GB, free: 384 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.007957, allocations: 4.469 kB / 0.7336 GB, free: 380 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.895e-06/0.00796, allocations: 5.719 kB / 0.7336 GB, free: 376 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.901e-05/0.007979, allocations: 0 / 0.7336 GB, free: 376 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.001229/0.009208, allocations: 0.8128 MB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.00925, allocations: 8.844 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.009386, allocations: 56.88 kB / 0.7345 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.009711, allocations: 236.5 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.009759, allocations: 22.02 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.00983, allocations: 24.38 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.01028, allocations: 181.6 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01029, allocations: 0.8125 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.01031, allocations: 4.312 kB / 0.7349 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01032, allocations: 5.625 kB / 0.7349 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.01043, allocations: 40.62 kB / 0.735 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.01066, allocations: 112.9 kB / 0.7351 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.01088, allocations: 105.4 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.01098, allocations: 37.81 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01101, allocations: 4 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.01125, allocations: 148.4 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/0.01125, allocations: 2.438 kB / 0.7354 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004607/0.01171, allocations: 201.1 kB / 0.7356 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.01175, allocations: 59.88 kB / 0.7356 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.01203, allocations: 336 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.01207, allocations: 41.69 kB / 0.736 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.01214, allocations: 95.33 kB / 0.7361 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.01219, allocations: 39.77 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.01235, allocations: 109.4 kB / 0.7362 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01245, allocations: 326.8 kB / 0.7365 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.01267, allocations: 155.3 kB / 0.7367 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.01303, allocations: 204 kB / 0.7369 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.0133, allocations: 251.3 kB / 0.7371 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01331, allocations: 3.125 kB / 0.7371 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005295/0.01384, allocations: 424.1 kB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.01392, allocations: 79.38 kB / 0.7376 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01392, allocations: 0 / 0.7376 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01394, allocations: 4 kB / 0.7376 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01412, allocations: 48.52 kB / 0.7376 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01413, allocations: 4 kB / 0.7376 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.01439, allocations: 45.08 kB / 0.7377 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.01448, allocations: 51.92 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.0001632/0.01464, allocations: 143.7 kB / 0.7379 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.0147, allocations: 29.47 kB / 0.7379 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.01475, allocations: 35.67 kB / 0.7379 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01476, allocations: 4 kB / 0.7379 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01476, allocations: 0 / 0.7379 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01477, allocations: 4.953 kB / 0.7379 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.01537, allocations: 377.7 kB / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01538, allocations: 0 / 0.7383 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.01543, allocations: 11.98 kB / 0.7383 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.01563, allocations: 121 kB / 0.7384 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01563, allocations: 4 kB / 0.7384 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.01566, allocations: 11.97 kB / 0.7384 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.01567, allocations: 7.938 kB / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01567, allocations: 0.9375 kB / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.016, allocations: 240.3 kB / 0.7387 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.01605, allocations: 12 kB / 0.7387 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.01634, allocations: 30.56 kB / 0.7387 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.01638, allocations: 11.92 kB / 0.7387 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.01644, allocations: 51.97 kB / 0.7388 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001397/0.01658, allocations: 132.7 kB / 0.7389 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01658, allocations: 1.469 kB / 0.7389 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003233/0.0169, allocations: 67.98 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 0.0001636/0.01706, allocations: 98.41 kB / 0.7391 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.01767, allocations: 409.7 kB / 0.7395 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.01769, allocations: 8 kB / 0.7395 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01782, allocations: 57.83 kB / 0.7395 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.01818, allocations: 127.2 kB / 0.7396 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.01954, allocations: 456.3 kB / 0.7401 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.01961, allocations: 96.77 kB / 0.7402 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.16e-05/0.01966, allocations: 11.88 kB / 0.7402 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.01991, allocations: 126.1 kB / 0.7403 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/0.01992, allocations: 0 / 0.7403 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.006977/0.02689, allocations: 5.336 MB / 0.7455 GB, free: 3.852 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.845038213767111]