Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001363/0.001363, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.00152/0.00152, allocations: 164.5 kB / 24.86 MB, free: 8.891 MB / 18.57 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.9526/0.9526, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.796/1.796, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.469e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002646/0.002671, allocations: 1.56 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004063, allocations: 0.5354 MB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.004126, allocations: 4.594 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.00424, allocations: 7.875 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.004367, allocations: 29.41 kB / 0.7904 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.005102, allocations: 316.9 kB / 0.7907 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.005609, allocations: 487.4 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.005649, allocations: 4 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.006129, allocations: 351.6 kB / 0.7915 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.006401, allocations: 131 kB / 0.7916 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.006471, allocations: 28 kB / 0.7916 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.006537, allocations: 28 kB / 0.7916 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.006664, allocations: 123.6 kB / 0.7918 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.00682, allocations: 131.7 kB / 0.7919 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.007238, allocations: 374.9 kB / 0.7922 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.007241, allocations: 3.938 kB / 0.7922 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007242, allocations: 0.7188 kB / 0.7922 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.007246, allocations: 0 / 0.7922 GB, free: 8.199 MB / 0.7448 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.001137/0.008383, allocations: 0.9149 MB / 0.7931 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.008425, allocations: 9.312 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.008566, allocations: 60.66 kB / 0.7932 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.009061, allocations: 258.8 kB / 0.7934 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.009112, allocations: 17 kB / 0.7935 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.009184, allocations: 28.36 kB / 0.7935 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.009632, allocations: 195.5 kB / 0.7937 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.009641, allocations: 192 / 0.7937 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.009672, allocations: 16.34 kB / 0.7937 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.009678, allocations: 384 / 0.7937 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.009809, allocations: 60.88 kB / 0.7938 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.01014, allocations: 241 kB / 0.794 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.01039, allocations: 120.6 kB / 0.7941 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01052, allocations: 58.97 kB / 0.7942 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01054, allocations: 4 kB / 0.7942 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.0108, allocations: 178.5 kB / 0.7943 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.01081, allocations: 0 / 0.7943 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007226/0.01153, allocations: 362 kB / 0.7947 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.01157, allocations: 63.39 kB / 0.7947 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.01194, allocations: 414.5 kB / 0.7951 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.01214, allocations: 45.62 kB / 0.7952 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.01222, allocations: 140.1 kB / 0.7953 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.01228, allocations: 43.7 kB / 0.7953 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.01247, allocations: 139 kB / 0.7955 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01264, allocations: 0.5 MB / 0.796 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.01288, allocations: 159.3 kB / 0.7961 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.01315, allocations: 233.1 kB / 0.7963 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.01344, allocations: 262.4 kB / 0.7966 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01344, allocations: 0 / 0.7966 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000757/0.0142, allocations: 0.5333 MB / 0.7971 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.01427, allocations: 79.38 kB / 0.7972 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01428, allocations: 8.188 kB / 0.7972 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01429, allocations: 0 / 0.7972 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.01466, allocations: 35.92 kB / 0.7972 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01466, allocations: 7.984 kB / 0.7972 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.01485, allocations: 47.8 kB / 0.7973 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.0149, allocations: 63.92 kB / 0.7973 GB, free: 2.637 MB / 0.7448 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.0001237/0.01503, allocations: 186.5 kB / 0.7975 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.01508, allocations: 39.77 kB / 0.7976 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.01512, allocations: 43.67 kB / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01512, allocations: 0 / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01513, allocations: 0 / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01513, allocations: 0 / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.01575, allocations: 0.6072 MB / 0.7982 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01575, allocations: 0 / 0.7982 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.01577, allocations: 4 kB / 0.7982 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01578, allocations: 4 kB / 0.7982 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.0158, allocations: 27.97 kB / 0.7982 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0158, allocations: 0 / 0.7982 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.0158, allocations: 3.938 kB / 0.7982 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01617, allocations: 465.9 kB / 0.7987 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.01632, allocations: 117.5 kB / 0.7988 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.01637, allocations: 11.98 kB / 0.7988 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.01652, allocations: 19.98 kB / 0.7988 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.01654, allocations: 11.92 kB / 0.7988 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.01658, allocations: 63.97 kB / 0.7989 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001279/0.01671, allocations: 259 kB / 0.7991 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01671, allocations: 0 / 0.7991 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002358/0.01695, allocations: 67.98 kB / 0.7992 GB, free: 0.6719 MB / 0.7448 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.00012/0.01707, allocations: 111.2 kB / 0.7993 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.01747, allocations: 413.8 kB / 0.7997 GB, free: 108 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01747, allocations: 4.125 kB / 0.7997 GB, free: 104 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.01757, allocations: 83.52 kB / 0.7998 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01783, allocations: 49.61 kB / 0.7998 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.01848, allocations: 477.5 kB / 0.8003 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.01853, allocations: 91.8 kB / 0.8004 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.01857, allocations: 9.156 kB / 0.8004 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.01873, allocations: 142.2 kB / 0.8005 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.01874, allocations: 4 kB / 0.8005 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.006284/0.02502, allocations: 5.499 MB / 0.8059 GB, free: 9.672 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.069184388965368]