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.001701/0.001701, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002003/0.002003, allocations: 161.9 kB / 22.46 MB, free: 5.375 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.473/1.473, allocations: 177.2 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.845/2.845, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.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.453e-06/1.453e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.527e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.0026/0.002625, allocations: 1.529 MB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003874, allocations: 0.5226 MB / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.003925, allocations: 0 / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.004026, allocations: 11.86 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.004136, allocations: 23.81 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.004958, allocations: 321.9 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.005528, allocations: 495.3 kB / 0.9842 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.005572, allocations: 8 kB / 0.9842 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.006085, allocations: 351.6 kB / 0.9845 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.006371, allocations: 135.7 kB / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.006469, allocations: 24 kB / 0.9847 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006576, allocations: 35.94 kB / 0.9847 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.006718, allocations: 115.7 kB / 0.9848 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.006913, allocations: 131.7 kB / 0.985 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.007464, allocations: 466.7 kB / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007467, allocations: 0 / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.81e-07/0.007468, allocations: 0 / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.007473, allocations: 0 / 0.9854 GB, free: 7.895 MB / 0.9356 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.001301/0.008774, allocations: 0.795 MB / 0.9862 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.008808, allocations: 8.031 kB / 0.9862 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.008942, allocations: 56.7 kB / 0.9862 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.009344, allocations: 256 kB / 0.9865 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.009395, allocations: 20.36 kB / 0.9865 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.009473, allocations: 20.38 kB / 0.9865 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.01056, allocations: 235.9 kB / 0.9868 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01057, allocations: 4.188 kB / 0.9868 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.0106, allocations: 4.375 kB / 0.9868 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01061, allocations: 4.359 kB / 0.9868 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/0.01146, allocations: 123.8 kB / 0.9869 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.01187, allocations: 285 kB / 0.9872 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.01304, allocations: 174.5 kB / 0.9873 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008418/0.01388, allocations: 124.8 kB / 0.9874 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.01391, allocations: 4 kB / 0.9874 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.01497, allocations: 235.1 kB / 0.9877 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.01497, allocations: 4 kB / 0.9877 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002931/0.0179, allocations: 0.5314 MB / 0.9882 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.01796, allocations: 55.41 kB / 0.9882 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.01843, allocations: 417.8 kB / 0.9886 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.0185, allocations: 37.7 kB / 0.9887 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.01859, allocations: 97.44 kB / 0.9888 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.01865, allocations: 39.73 kB / 0.9888 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.01885, allocations: 121.5 kB / 0.9889 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01901, allocations: 326.8 kB / 0.9892 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.01936, allocations: 203.2 kB / 0.9894 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.01978, allocations: 237.3 kB / 0.9897 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.02021, allocations: 271.4 kB / 0.9899 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02022, allocations: 0 / 0.9899 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009762/0.02119, allocations: 0.5727 MB / 0.9905 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/0.02129, allocations: 87.55 kB / 0.9906 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.0213, allocations: 4 kB / 0.9906 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.02132, allocations: 4 kB / 0.9906 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.02149, allocations: 23.92 kB / 0.9906 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.0215, allocations: 3.938 kB / 0.9906 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.02203, allocations: 67.84 kB / 0.9907 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.02213, allocations: 59.97 kB / 0.9907 GB, free: 2.133 MB / 0.9356 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.0002602/0.02239, allocations: 203.7 kB / 0.9909 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.02247, allocations: 35.77 kB / 0.9909 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.02253, allocations: 35.69 kB / 0.991 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.02254, allocations: 7.984 kB / 0.991 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02255, allocations: 0 / 0.991 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02255, allocations: 3.938 kB / 0.991 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.02501, allocations: 0.709 MB / 0.9917 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02501, allocations: 0 / 0.9917 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.02504, allocations: 4 kB / 0.9917 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02505, allocations: 0 / 0.9917 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.0251, allocations: 31.91 kB / 0.9917 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0251, allocations: 0 / 0.9917 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0251, allocations: 0 / 0.9917 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.02709, allocations: 0.4957 MB / 0.9922 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.02737, allocations: 141.4 kB / 0.9923 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.02745, allocations: 15.94 kB / 0.9923 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.02799, allocations: 39.97 kB / 0.9924 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.02803, allocations: 7.984 kB / 0.9924 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.02812, allocations: 67.91 kB / 0.9925 GB, free: 292 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003286/0.02844, allocations: 295.1 kB / 0.9927 GB, free: 0 / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.02844, allocations: 0 / 0.9927 GB, free: 0 / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004226/0.02887, allocations: 67.98 kB / 0.9928 GB, free: 15.93 MB / 0.9512 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.000189/0.02906, allocations: 121.8 kB / 0.9929 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.03055, allocations: 492.8 kB / 0.9934 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03056, allocations: 0 / 0.9934 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.0314, allocations: 119.9 kB / 0.9935 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.03181, allocations: 29.62 kB / 0.9935 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.03344, allocations: 0.5742 MB / 0.9941 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.03363, allocations: 163 kB / 0.9942 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.485e-05/0.0337, allocations: 13.14 kB / 0.9943 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.03375, allocations: 20.5 kB / 0.9943 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.03375, allocations: 3.938 kB / 0.9943 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.01061/0.04436, allocations: 5.869 MB / 1 GB, free: 8.406 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.04141367226839]