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.001047/0.001047, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009204/0.0009204, allocations: 161 kB / 23.82 MB, free: 0.75 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.924/0.924, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.671/1.671, allocations: 359 MB / 0.6052 GB, free: 11 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.452e-06/1.452e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.513e-05, allocations: 7.281 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001712/0.001727, allocations: 1.563 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.002645, allocations: 0.5419 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.002693, allocations: 1.5 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.172e-05/0.002785, allocations: 11.86 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.002886, allocations: 31.84 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.003499, allocations: 313 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.003871, allocations: 487.4 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.003904, allocations: 5.406 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.004233, allocations: 359.6 kB / 0.7903 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.004434, allocations: 128.6 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.004489, allocations: 28 kB / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.004538, allocations: 28 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.00463, allocations: 120.7 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.004731, allocations: 127.7 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.005031, allocations: 384 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005033, allocations: 0 / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005034, allocations: 0 / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.005039, allocations: 0 / 0.791 GB, free: 8.422 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.0008599/0.005899, allocations: 0.9128 MB / 0.7919 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.00593, allocations: 8.031 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.00603, allocations: 60.69 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.006269, allocations: 254.9 kB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.006306, allocations: 16.36 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.006351, allocations: 29.55 kB / 0.7923 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.006691, allocations: 209.8 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006698, allocations: 192 / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.006721, allocations: 4.906 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.006729, allocations: 4.125 kB / 0.7925 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.656e-05/0.006825, allocations: 63.91 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.007099, allocations: 320.3 kB / 0.7929 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.007286, allocations: 118.9 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.00738, allocations: 64.16 kB / 0.793 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.007398, allocations: 4.844 kB / 0.793 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.007587, allocations: 187.6 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 8.62e-07/0.007587, allocations: 0 / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005206/0.008108, allocations: 382.4 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.008151, allocations: 59.34 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.008444, allocations: 422.7 kB / 0.794 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.008483, allocations: 41.69 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.008553, allocations: 148.1 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.00859, allocations: 31.75 kB / 0.7943 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.008712, allocations: 135.1 kB / 0.7944 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.00884, allocations: 0.4923 MB / 0.7949 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.009035, allocations: 175.3 kB / 0.795 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.009234, allocations: 253.1 kB / 0.7953 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.009456, allocations: 282.7 kB / 0.7955 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009458, allocations: 0 / 0.7955 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005183/0.009976, allocations: 0.5595 MB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.01002, allocations: 79.38 kB / 0.7962 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01003, allocations: 4 kB / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01004, allocations: 0 / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01016, allocations: 47.84 kB / 0.7962 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01017, allocations: 3.938 kB / 0.7962 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01034, allocations: 48.05 kB / 0.7963 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.01039, allocations: 59.98 kB / 0.7963 GB, free: 2.691 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.0001147/0.01051, allocations: 190.5 kB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01055, allocations: 39.77 kB / 0.7965 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.01059, allocations: 39.67 kB / 0.7966 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01059, allocations: 4 kB / 0.7966 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.0106, allocations: 3.938 kB / 0.7966 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0106, allocations: 0 / 0.7966 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.01123, allocations: 0.6731 MB / 0.7972 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01123, allocations: 4 kB / 0.7973 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.01126, allocations: 4 kB / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01126, allocations: 0 / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.01128, allocations: 23.91 kB / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01128, allocations: 0 / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01129, allocations: 0 / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.01165, allocations: 468 kB / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.01177, allocations: 121.5 kB / 0.7978 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.01182, allocations: 23.92 kB / 0.7979 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01196, allocations: 19.92 kB / 0.7979 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.01198, allocations: 7.984 kB / 0.7979 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.01202, allocations: 59.97 kB / 0.7979 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000145/0.01217, allocations: 271.1 kB / 0.7982 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01217, allocations: 0 / 0.7982 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002127/0.01238, allocations: 67.98 kB / 0.7983 GB, free: 0.6289 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 8.389e-05/0.01247, allocations: 115.2 kB / 0.7984 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.01287, allocations: 432.1 kB / 0.7988 GB, free: 44 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01287, allocations: 4 kB / 0.7988 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01298, allocations: 83.91 kB / 0.7989 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01323, allocations: 57.61 kB / 0.7989 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.01386, allocations: 478.9 kB / 0.7994 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01391, allocations: 87.8 kB / 0.7995 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.01394, allocations: 9.156 kB / 0.7995 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.01397, allocations: 16.48 kB / 0.7995 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/0.01397, allocations: 4 kB / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of Templates: time 0.006922/0.0209, allocations: 6.502 MB / 0.8059 GB, free: 8.73 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: 4.701994974631816]