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.002504/0.002504, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002984/0.002984, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.898/2.898, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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.272e-06/1.272e-06, allocations: 0 / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.411e-05, allocations: 2.312 kB / 0.7863 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003208/0.003232, allocations: 1.53 MB / 0.7878 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004689, allocations: 0.5322 MB / 0.7883 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.004745, allocations: 4 kB / 0.7884 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.004856, allocations: 7.875 kB / 0.7884 GB, free: 9.672 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.004986, allocations: 32.41 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.005853, allocations: 321 kB / 0.7887 GB, free: 9.328 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.006459, allocations: 483.4 kB / 0.7892 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.006498, allocations: 8.828 kB / 0.7892 GB, free: 8.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.0071, allocations: 355.6 kB / 0.7895 GB, free: 8.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.007413, allocations: 137.1 kB / 0.7896 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.007548, allocations: 24 kB / 0.7897 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.007682, allocations: 28 kB / 0.7897 GB, free: 8.316 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.007851, allocations: 121.6 kB / 0.7898 GB, free: 8.199 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.008052, allocations: 127.7 kB / 0.7899 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.008658, allocations: 466.7 kB / 0.7904 GB, free: 7.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.008661, allocations: 0 / 0.7904 GB, free: 7.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.71e-07/0.008662, allocations: 0 / 0.7904 GB, free: 7.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.008667, allocations: 0.6875 kB / 0.7904 GB, free: 7.617 MB / 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.001492/0.01016, allocations: 0.9189 MB / 0.7913 GB, free: 6.621 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.0102, allocations: 8.031 kB / 0.7913 GB, free: 6.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.01035, allocations: 61.86 kB / 0.7913 GB, free: 6.555 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.01087, allocations: 258.8 kB / 0.7916 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.01093, allocations: 20.36 kB / 0.7916 GB, free: 6.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.01101, allocations: 29.7 kB / 0.7916 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.01165, allocations: 198 kB / 0.7918 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.01166, allocations: 1.25 kB / 0.7918 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.01169, allocations: 8.375 kB / 0.7918 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01169, allocations: 384 / 0.7918 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.01211, allocations: 81.41 kB / 0.7919 GB, free: 5.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.01262, allocations: 340.4 kB / 0.7922 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.01325, allocations: 153.2 kB / 0.7924 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.01366, allocations: 88.2 kB / 0.7925 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.01369, allocations: 4 kB / 0.7925 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.01428, allocations: 215.3 kB / 0.7927 GB, free: 5.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.01428, allocations: 0 / 0.7927 GB, free: 5.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001605/0.01589, allocations: 438 kB / 0.7931 GB, free: 4.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.01595, allocations: 65.84 kB / 0.7931 GB, free: 4.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.01648, allocations: 466.7 kB / 0.7936 GB, free: 4.125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.01655, allocations: 41.69 kB / 0.7936 GB, free: 4.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01668, allocations: 144.2 kB / 0.7938 GB, free: 3.934 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.01696, allocations: 43.7 kB / 0.7938 GB, free: 3.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.01719, allocations: 135.1 kB / 0.7939 GB, free: 3.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002855/0.01748, allocations: 0.4962 MB / 0.7944 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.01787, allocations: 215.8 kB / 0.7946 GB, free: 3.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.01831, allocations: 281.8 kB / 0.7949 GB, free: 2.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.01881, allocations: 325.7 kB / 0.7952 GB, free: 2.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01882, allocations: 0 / 0.7952 GB, free: 2.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001117/0.01993, allocations: 0.6268 MB / 0.7958 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/0.02003, allocations: 79.38 kB / 0.7959 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.02004, allocations: 1.156 kB / 0.7959 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.02006, allocations: 7.984 kB / 0.7959 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.02026, allocations: 35.91 kB / 0.7959 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.02028, allocations: 9.312 kB / 0.796 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.02064, allocations: 47.8 kB / 0.796 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.02074, allocations: 65.73 kB / 0.7961 GB, free: 1.441 MB / 0.698 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.0002091/0.02095, allocations: 186.5 kB / 0.7962 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.02104, allocations: 43.77 kB / 0.7963 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.02111, allocations: 36.42 kB / 0.7963 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02111, allocations: 0 / 0.7963 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.02112, allocations: 5.688 kB / 0.7963 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.02112, allocations: 3.938 kB / 0.7963 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.02289, allocations: 0.7365 MB / 0.797 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.0229, allocations: 3.984 kB / 0.797 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.02293, allocations: 7.469 kB / 0.7971 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.02293, allocations: 0 / 0.7971 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.02298, allocations: 31.91 kB / 0.7971 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.02298, allocations: 0 / 0.7971 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02299, allocations: 3.938 kB / 0.7971 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.0242, allocations: 0.4895 MB / 0.7976 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.02452, allocations: 122 kB / 0.7977 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.0246, allocations: 17.86 kB / 0.7977 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.02489, allocations: 19.98 kB / 0.7977 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.02493, allocations: 11.98 kB / 0.7977 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.02502, allocations: 55.97 kB / 0.7978 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003332/0.02535, allocations: 293.2 kB / 0.7981 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.02535, allocations: 0 / 0.7981 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003628/0.02571, allocations: 67.98 kB / 0.7981 GB, free: 15.26 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.0001689/0.02588, allocations: 116.9 kB / 0.7982 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.02708, allocations: 0.5931 MB / 0.7988 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02709, allocations: 1.281 kB / 0.7988 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.02753, allocations: 106.2 kB / 0.7989 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.02793, allocations: 59.62 kB / 0.799 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.02906, allocations: 493.5 kB / 0.7994 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.02925, allocations: 159.8 kB / 0.7996 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.843e-05/0.02932, allocations: 19.34 kB / 0.7996 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.02937, allocations: 20.48 kB / 0.7996 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.02937, allocations: 0 / 0.7996 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.01185/0.04122, allocations: 5.887 MB / 0.8054 GB, free: 7.707 MB / 0.7136 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.94285187497735]