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.001893/0.001893, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001495/0.001495, allocations: 173 kB / 22.46 MB, free: 5.363 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.857/2.857, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.703e-06/1.703e-06, allocations: 0 / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.746e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002749/0.002776, allocations: 1.515 MB / 0.9829 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.00409, allocations: 0.5265 MB / 0.9834 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.004136, allocations: 0 / 0.9834 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.683e-05/0.004223, allocations: 11.81 kB / 0.9834 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.004343, allocations: 27.84 kB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008384/0.005181, allocations: 321.8 kB / 0.9837 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.005744, allocations: 495.4 kB / 0.9842 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.005784, allocations: 7.938 kB / 0.9842 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.006294, allocations: 351.6 kB / 0.9846 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.006575, allocations: 129.6 kB / 0.9847 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.006684, allocations: 28 kB / 0.9847 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.006778, allocations: 28 kB / 0.9847 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.006926, allocations: 123.6 kB / 0.9848 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.007104, allocations: 127.7 kB / 0.985 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.007637, allocations: 462.7 kB / 0.9854 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007641, allocations: 4 kB / 0.9854 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.91e-07/0.007642, allocations: 0 / 0.9854 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.007651, allocations: 0 / 0.9854 GB, free: 6.832 MB / 0.8887 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.00128/0.00893, allocations: 0.7989 MB / 0.9862 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.008963, allocations: 8.031 kB / 0.9862 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.009087, allocations: 52.7 kB / 0.9863 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.009483, allocations: 263.9 kB / 0.9865 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.009535, allocations: 16.36 kB / 0.9865 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.009621, allocations: 28.38 kB / 0.9865 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.01074, allocations: 234 kB / 0.9868 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01074, allocations: 4.125 kB / 0.9868 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.01078, allocations: 4.375 kB / 0.9868 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01078, allocations: 384 / 0.9868 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.01165, allocations: 111.9 kB / 0.9869 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.01206, allocations: 289.1 kB / 0.9872 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.01325, allocations: 174.5 kB / 0.9873 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/0.01411, allocations: 117.2 kB / 0.9874 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.01414, allocations: 11.98 kB / 0.9874 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.01523, allocations: 242.3 kB / 0.9877 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.01523, allocations: 0 / 0.9877 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of matching and sorting (n=16): time 0.002987/0.01821, allocations: 0.5167 MB / 0.9882 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.01827, allocations: 59.41 kB / 0.9882 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.01873, allocations: 417.8 kB / 0.9886 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.0188, allocations: 41.7 kB / 0.9887 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.01889, allocations: 93.44 kB / 0.9888 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.01894, allocations: 55.61 kB / 0.9888 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.01916, allocations: 125.4 kB / 0.9889 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.01931, allocations: 326.8 kB / 0.9893 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.01965, allocations: 187.3 kB / 0.9894 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.02004, allocations: 249.2 kB / 0.9897 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.02045, allocations: 269.3 kB / 0.9899 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02045, allocations: 0 / 0.9899 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009755/0.02143, allocations: 0.5606 MB / 0.9905 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.02151, allocations: 87.31 kB / 0.9906 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.02153, allocations: 3.984 kB / 0.9906 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.02154, allocations: 4 kB / 0.9906 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.02171, allocations: 19.92 kB / 0.9906 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.02172, allocations: 7.938 kB / 0.9906 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.02224, allocations: 68.03 kB / 0.9907 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.02234, allocations: 63.98 kB / 0.9907 GB, free: 1.074 MB / 0.8887 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.0002404/0.02258, allocations: 191.7 kB / 0.9909 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.02265, allocations: 43.72 kB / 0.9909 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.02272, allocations: 39.69 kB / 0.991 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02272, allocations: 3.938 kB / 0.991 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02272, allocations: 4 kB / 0.991 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.02273, allocations: 11.91 kB / 0.991 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.02517, allocations: 0.7012 MB / 0.9917 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02517, allocations: 0 / 0.9917 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.02521, allocations: 11.94 kB / 0.9917 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.02521, allocations: 4 kB / 0.9917 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.02527, allocations: 20.17 kB / 0.9917 GB, free: 16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.02528, allocations: 7.938 kB / 0.9917 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02528, allocations: 0 / 0.9917 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.02726, allocations: 0.5025 MB / 0.9922 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.02754, allocations: 137.5 kB / 0.9923 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.02761, allocations: 12 kB / 0.9924 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.02814, allocations: 43.91 kB / 0.9924 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.02818, allocations: 7.984 kB / 0.9924 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/0.02826, allocations: 59.97 kB / 0.9925 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003326/0.02859, allocations: 295.1 kB / 0.9927 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02859, allocations: 0 / 0.9927 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003617/0.02895, allocations: 71.92 kB / 0.9928 GB, free: 14.86 MB / 0.9044 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.0001724/0.02913, allocations: 119.8 kB / 0.9929 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.03059, allocations: 489.8 kB / 0.9934 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03059, allocations: 0 / 0.9934 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.03146, allocations: 124.3 kB / 0.9935 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.03183, allocations: 31.36 kB / 0.9935 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.03343, allocations: 0.5679 MB / 0.9941 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.03361, allocations: 170.8 kB / 0.9943 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.03367, allocations: 17.14 kB / 0.9943 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.03372, allocations: 20.48 kB / 0.9943 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.03372, allocations: 3.938 kB / 0.9943 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.01039/0.04411, allocations: 5.866 MB / 1 GB, free: 7.336 MB / 0.9044 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: 8.03449697420001]