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.001893/0.001893, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002406/0.002406, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.455/1.455, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.835/2.835, allocations: 359 MB / 0.6048 GB, free: 10.94 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.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.653e-06/1.653e-06, allocations: 0 / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.634e-05, allocations: 5.688 kB / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00295/0.002976, allocations: 1.525 MB / 0.7878 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.004514, allocations: 0.5364 MB / 0.7883 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.004576, allocations: 0 / 0.7883 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.781e-05/0.004674, allocations: 8.672 kB / 0.7884 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.004804, allocations: 23.86 kB / 0.7884 GB, free: 9.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.005721, allocations: 325.6 kB / 0.7887 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.006373, allocations: 487.4 kB / 0.7892 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.006415, allocations: 7.984 kB / 0.7892 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.007018, allocations: 364.9 kB / 0.7895 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.007337, allocations: 131.5 kB / 0.7896 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/0.007432, allocations: 30.97 kB / 0.7897 GB, free: 8.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.007515, allocations: 24 kB / 0.7897 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.007664, allocations: 115.7 kB / 0.7898 GB, free: 8.211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.007865, allocations: 131.7 kB / 0.7899 GB, free: 8.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.008459, allocations: 466.7 kB / 0.7904 GB, free: 7.625 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.008461, allocations: 0 / 0.7904 GB, free: 7.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.008462, allocations: 0 / 0.7904 GB, free: 7.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.008471, allocations: 0 / 0.7904 GB, free: 7.625 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.001453/0.009923, allocations: 0.7923 MB / 0.7911 GB, free: 6.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.009959, allocations: 12.03 kB / 0.7912 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.01014, allocations: 65.22 kB / 0.7912 GB, free: 6.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.01057, allocations: 253.1 kB / 0.7915 GB, free: 6.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.01062, allocations: 16.36 kB / 0.7915 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.01072, allocations: 32.36 kB / 0.7915 GB, free: 6.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.01185, allocations: 231.7 kB / 0.7917 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.01186, allocations: 192 / 0.7917 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.01189, allocations: 8.359 kB / 0.7917 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.0119, allocations: 384 / 0.7917 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.01278, allocations: 121.3 kB / 0.7918 GB, free: 6.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.01324, allocations: 283.4 kB / 0.7921 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.01444, allocations: 183 kB / 0.7923 GB, free: 5.527 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.01531, allocations: 114 kB / 0.7924 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.01535, allocations: 5.594 kB / 0.7924 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.01644, allocations: 236.4 kB / 0.7926 GB, free: 5.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01644, allocations: 0 / 0.7926 GB, free: 5.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.003042/0.01949, allocations: 0.5367 MB / 0.7932 GB, free: 4.629 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.01954, allocations: 55.41 kB / 0.7932 GB, free: 4.562 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.02007, allocations: 413.9 kB / 0.7936 GB, free: 4.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/0.02016, allocations: 42.31 kB / 0.7936 GB, free: 4.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.02027, allocations: 97.44 kB / 0.7937 GB, free: 4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.02033, allocations: 40.39 kB / 0.7938 GB, free: 3.961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.02057, allocations: 125.5 kB / 0.7939 GB, free: 3.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.02076, allocations: 323.7 kB / 0.7942 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.02114, allocations: 195.3 kB / 0.7944 GB, free: 3.305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.02157, allocations: 247.1 kB / 0.7946 GB, free: 3.031 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.02202, allocations: 272.3 kB / 0.7949 GB, free: 2.734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02203, allocations: 2.375 kB / 0.7949 GB, free: 2.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001229/0.02325, allocations: 0.5898 MB / 0.7955 GB, free: 2.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/0.02335, allocations: 79.38 kB / 0.7955 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.02336, allocations: 5.953 kB / 0.7955 GB, free: 2.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.02338, allocations: 4 kB / 0.7956 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.02358, allocations: 27.92 kB / 0.7956 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.02359, allocations: 7.875 kB / 0.7956 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.02416, allocations: 66.16 kB / 0.7956 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.02427, allocations: 67.97 kB / 0.7957 GB, free: 1.852 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.000302/0.02457, allocations: 191.7 kB / 0.7959 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.02467, allocations: 44.58 kB / 0.7959 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.02475, allocations: 39.67 kB / 0.796 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.02475, allocations: 5.094 kB / 0.796 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.02476, allocations: 0 / 0.796 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.02477, allocations: 3.938 kB / 0.796 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.02736, allocations: 0.711 MB / 0.7967 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02736, allocations: 4 kB / 0.7967 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.0274, allocations: 7.984 kB / 0.7967 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.0274, allocations: 0 / 0.7967 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.02746, allocations: 27.91 kB / 0.7967 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.02746, allocations: 0 / 0.7967 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02746, allocations: 0 / 0.7967 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.02955, allocations: 0.5111 MB / 0.7972 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.02982, allocations: 130.6 kB / 0.7973 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.0299, allocations: 15.92 kB / 0.7974 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.03045, allocations: 41.09 kB / 0.7974 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.03049, allocations: 11.92 kB / 0.7974 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.03058, allocations: 57.22 kB / 0.7975 GB, free: 16 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003767/0.03095, allocations: 299.1 kB / 0.7977 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.03095, allocations: 0 / 0.7977 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000416/0.03137, allocations: 65.84 kB / 0.7978 GB, free: 15.66 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.000195/0.03156, allocations: 111.2 kB / 0.7979 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.03313, allocations: 0.4926 MB / 0.7984 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03313, allocations: 0 / 0.7984 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.03401, allocations: 123.9 kB / 0.7985 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.03444, allocations: 51.3 kB / 0.7986 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.03614, allocations: 0.5719 MB / 0.7991 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.03636, allocations: 170.8 kB / 0.7993 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.415e-05/0.03642, allocations: 13.12 kB / 0.7993 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.03647, allocations: 20.5 kB / 0.7993 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.03648, allocations: 0 / 0.7993 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.01142/0.0479, allocations: 5.89 MB / 0.8051 GB, free: 8.098 MB / 0.7136 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.707916666055098]