Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0009137/0.0009137, allocations: 80.39 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.001127/0.001127, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9924/0.9924, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.755/1.755, allocations: 359 MB / 0.6063 GB, free: 10.87 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.639e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001935/0.001952, allocations: 1.559 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002965, allocations: 0.5368 MB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.003028, allocations: 1.094 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.003135, allocations: 11.88 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.003248, allocations: 23.84 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.003904, allocations: 317.3 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.004291, allocations: 487.4 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.004327, allocations: 5.062 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.004661, allocations: 347.6 kB / 0.7915 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.004866, allocations: 138.2 kB / 0.7916 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.004913, allocations: 27.94 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.004961, allocations: 29.16 kB / 0.7916 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.00506, allocations: 119.7 kB / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.005333, allocations: 127.7 kB / 0.7919 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.00562, allocations: 380 kB / 0.7922 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005622, allocations: 0 / 0.7922 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005623, allocations: 4 kB / 0.7922 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005628, allocations: 0 / 0.7922 GB, free: 8.184 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.0008163/0.006444, allocations: 0.912 MB / 0.7931 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.006481, allocations: 8.031 kB / 0.7931 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.006579, allocations: 64.66 kB / 0.7932 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.006903, allocations: 256.2 kB / 0.7935 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.006949, allocations: 20.36 kB / 0.7935 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.006997, allocations: 28.38 kB / 0.7935 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.007333, allocations: 194.9 kB / 0.7937 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.00734, allocations: 4.188 kB / 0.7937 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.007358, allocations: 4.359 kB / 0.7937 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.007363, allocations: 1.562 kB / 0.7937 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.007445, allocations: 56.12 kB / 0.7937 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.007678, allocations: 253 kB / 0.794 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.007849, allocations: 114.9 kB / 0.7941 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.007927, allocations: 56.58 kB / 0.7942 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.007944, allocations: 15.36 kB / 0.7942 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.008118, allocations: 171.2 kB / 0.7943 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.008119, allocations: 0 / 0.7943 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000535/0.008654, allocations: 366 kB / 0.7947 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.008701, allocations: 59.34 kB / 0.7947 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.008954, allocations: 423.2 kB / 0.7951 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.00899, allocations: 41.69 kB / 0.7952 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.009059, allocations: 140.6 kB / 0.7953 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.009096, allocations: 43.72 kB / 0.7954 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.009234, allocations: 135.1 kB / 0.7955 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.00937, allocations: 0.5 MB / 0.796 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.009538, allocations: 163.3 kB / 0.7961 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.009712, allocations: 229.1 kB / 0.7963 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.009918, allocations: 262.9 kB / 0.7966 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.009921, allocations: 0 / 0.7966 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005189/0.01044, allocations: 0.5313 MB / 0.7971 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.0105, allocations: 79.38 kB / 0.7972 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.0105, allocations: 4 kB / 0.7972 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01052, allocations: 4 kB / 0.7972 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.01064, allocations: 35.91 kB / 0.7972 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01064, allocations: 192 / 0.7972 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.01082, allocations: 59.73 kB / 0.7973 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.01088, allocations: 63.97 kB / 0.7974 GB, free: 2.633 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.0001291/0.01101, allocations: 186.5 kB / 0.7975 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.01106, allocations: 39.77 kB / 0.7976 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.0111, allocations: 39.67 kB / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.0111, allocations: 0 / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01111, allocations: 0 / 0.7976 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01111, allocations: 4 kB / 0.7976 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.01176, allocations: 0.6111 MB / 0.7982 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01176, allocations: 0 / 0.7982 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.01179, allocations: 4 kB / 0.7982 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.0118, allocations: 3.984 kB / 0.7982 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.01182, allocations: 19.98 kB / 0.7982 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01182, allocations: 0 / 0.7982 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01182, allocations: 3.938 kB / 0.7982 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.0122, allocations: 463.9 kB / 0.7987 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.0125, allocations: 117.5 kB / 0.7988 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.01255, allocations: 15.98 kB / 0.7988 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.01269, allocations: 15.98 kB / 0.7988 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.01271, allocations: 15.92 kB / 0.7988 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.01275, allocations: 55.97 kB / 0.7989 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000119/0.01287, allocations: 259 kB / 0.7991 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01287, allocations: 0 / 0.7991 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002125/0.01308, allocations: 75.92 kB / 0.7992 GB, free: 0.668 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.0001036/0.01319, allocations: 115.2 kB / 0.7993 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.01356, allocations: 416.2 kB / 0.7997 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01356, allocations: 0 / 0.7997 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.01365, allocations: 75.91 kB / 0.7998 GB, free: 20 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.0139, allocations: 62.41 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.0005976/0.0145, allocations: 478.8 kB / 0.8003 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.01454, allocations: 83.81 kB / 0.8004 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.01457, allocations: 17.12 kB / 0.8004 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.01473, allocations: 142.2 kB / 0.8005 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/0.01473, allocations: 0 / 0.8005 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.006303/0.02104, allocations: 5.5 MB / 0.8059 GB, free: 9.672 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.059050427284092]