Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001032/0.001032, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001011/0.001011, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.997/0.997, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.352/2.352, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.485e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001887/0.001902, allocations: 1.565 MB / 0.8912 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002921, allocations: 0.5362 MB / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.002985, allocations: 4 kB / 0.8918 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.556e-05/0.00308, allocations: 7.922 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.003218, allocations: 27.84 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.003845, allocations: 319.2 kB / 0.8921 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.004198, allocations: 499.4 kB / 0.8926 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.00423, allocations: 4 kB / 0.8926 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.004547, allocations: 355.6 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.004747, allocations: 131.8 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.004801, allocations: 28 kB / 0.8931 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.00485, allocations: 24 kB / 0.8931 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.966e-05/0.004949, allocations: 119.7 kB / 0.8932 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.00504, allocations: 131.7 kB / 0.8933 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.005313, allocations: 378.9 kB / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005315, allocations: 0 / 0.8937 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005316, allocations: 3.984 kB / 0.8937 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.00532, allocations: 4 kB / 0.8937 GB, free: 5.703 MB / 0.8542 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.0007504/0.00607, allocations: 0.9143 MB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006103, allocations: 8.625 kB / 0.8946 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.00619, allocations: 68.62 kB / 0.8947 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.006408, allocations: 250.9 kB / 0.8949 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.00644, allocations: 20.36 kB / 0.8949 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.006482, allocations: 24.36 kB / 0.8949 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.006784, allocations: 202.7 kB / 0.8951 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006791, allocations: 192 / 0.8951 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006807, allocations: 12.36 kB / 0.8952 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.006813, allocations: 4.375 kB / 0.8952 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.006891, allocations: 55.84 kB / 0.8952 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.007108, allocations: 244.9 kB / 0.8954 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.007263, allocations: 123 kB / 0.8956 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.007338, allocations: 55.66 kB / 0.8956 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.00736, allocations: 7.984 kB / 0.8956 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.00752, allocations: 184 kB / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.007521, allocations: 0 / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004426/0.007964, allocations: 357.1 kB / 0.8961 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.007999, allocations: 63.39 kB / 0.8962 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.008206, allocations: 414.5 kB / 0.8966 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.00824, allocations: 37.7 kB / 0.8966 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.008294, allocations: 144.2 kB / 0.8968 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.008326, allocations: 47.67 kB / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.008434, allocations: 131.1 kB / 0.8969 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.008537, allocations: 0.4961 MB / 0.8974 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.008681, allocations: 167.2 kB / 0.8976 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.008836, allocations: 233.1 kB / 0.8978 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.009019, allocations: 258.9 kB / 0.8981 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009021, allocations: 0 / 0.8981 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004322/0.009453, allocations: 0.5255 MB / 0.8986 GB, free: 368 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.009495, allocations: 79.38 kB / 0.8986 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.009499, allocations: 4 kB / 0.8986 GB, free: 272 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009511, allocations: 4 kB / 0.8986 GB, free: 268 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.009613, allocations: 39.91 kB / 0.8987 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.009617, allocations: 4.188 kB / 0.8987 GB, free: 224 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.009774, allocations: 55.75 kB / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.00982, allocations: 55.98 kB / 0.8988 GB, free: 112 kB / 0.8542 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.0001265/0.009946, allocations: 186.5 kB / 0.899 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.009993, allocations: 43.75 kB / 0.899 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.01003, allocations: 35.69 kB / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01003, allocations: 0 / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01003, allocations: 4 kB / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01004, allocations: 4 kB / 0.8991 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.01057, allocations: 0.6111 MB / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01057, allocations: 0 / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.01059, allocations: 7.984 kB / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01059, allocations: 0 / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.01062, allocations: 23.97 kB / 0.8997 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01062, allocations: 4 kB / 0.8997 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01062, allocations: 7.875 kB / 0.8997 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01095, allocations: 454.8 kB / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.01108, allocations: 125.8 kB / 0.9003 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.01112, allocations: 12 kB / 0.9003 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.01129, allocations: 31.97 kB / 0.9003 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.01131, allocations: 11.92 kB / 0.9003 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.01135, allocations: 59.97 kB / 0.9004 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001147/0.01146, allocations: 263 kB / 0.9006 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.01146, allocations: 0 / 0.9006 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002075/0.01167, allocations: 67.98 kB / 0.9007 GB, free: 14.12 MB / 0.8698 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 9.029e-05/0.01176, allocations: 111.8 kB / 0.9008 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01214, allocations: 429.6 kB / 0.9012 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01214, allocations: 0 / 0.9012 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.01223, allocations: 83.89 kB / 0.9013 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.01246, allocations: 53.11 kB / 0.9013 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.01306, allocations: 482.9 kB / 0.9018 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.01311, allocations: 87.81 kB / 0.9019 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.01314, allocations: 17.14 kB / 0.9019 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.01331, allocations: 142.2 kB / 0.902 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/0.01331, allocations: 0 / 0.902 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.006035/0.01934, allocations: 5.332 MB / 0.9072 GB, free: 7.262 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.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.45568413566798]