Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001289/0.001289, allocations: 81.17 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.001513/0.001513, allocations: 169 kB / 23.28 MB, free: 1.215 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.021/1.021, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.326/2.326, allocations: 438.1 MB / 0.682 GB, free: 14.18 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.CalendarTimeMonths,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8897 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.298e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001766/0.001789, allocations: 1.571 MB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002905, allocations: 0.5342 MB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.002994, allocations: 0 / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003117, allocations: 11.86 kB / 0.8918 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.003241, allocations: 27.84 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.003886, allocations: 315.3 kB / 0.8921 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.004244, allocations: 495.4 kB / 0.8926 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.004276, allocations: 7.984 kB / 0.8926 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.004592, allocations: 351.6 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.004782, allocations: 135.7 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.004835, allocations: 28 kB / 0.8931 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.004886, allocations: 28 kB / 0.8931 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.004979, allocations: 119.7 kB / 0.8932 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.005081, allocations: 131.7 kB / 0.8933 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.005365, allocations: 378.8 kB / 0.8937 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.005368, allocations: 0 / 0.8937 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005368, allocations: 0 / 0.8937 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005373, allocations: 0 / 0.8937 GB, free: 5.719 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.0008089/0.006182, allocations: 0.9182 MB / 0.8946 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.006215, allocations: 12.62 kB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.006302, allocations: 60.7 kB / 0.8947 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.006518, allocations: 250.9 kB / 0.8949 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.006549, allocations: 16.38 kB / 0.8949 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.006591, allocations: 32.3 kB / 0.8949 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.006929, allocations: 198.7 kB / 0.8951 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.00694, allocations: 4.172 kB / 0.8951 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006955, allocations: 4.375 kB / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.006961, allocations: 4.312 kB / 0.8951 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.007041, allocations: 51.91 kB / 0.8952 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.00728, allocations: 256.9 kB / 0.8954 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.007436, allocations: 115 kB / 0.8955 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.007515, allocations: 63.61 kB / 0.8956 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.007538, allocations: 7.984 kB / 0.8956 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.007703, allocations: 172.9 kB / 0.8958 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.007704, allocations: 0 / 0.8958 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004604/0.008164, allocations: 365.2 kB / 0.8961 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.008196, allocations: 59.34 kB / 0.8962 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.008426, allocations: 422.5 kB / 0.8966 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.008459, allocations: 41.69 kB / 0.8966 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.008518, allocations: 132.2 kB / 0.8968 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.008554, allocations: 47.66 kB / 0.8968 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.00867, allocations: 131.1 kB / 0.8969 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.008779, allocations: 0.5 MB / 0.8974 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.008934, allocations: 163.3 kB / 0.8976 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.009092, allocations: 229.1 kB / 0.8978 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.009274, allocations: 259.2 kB / 0.898 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009276, allocations: 3.938 kB / 0.898 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004522/0.009728, allocations: 0.5294 MB / 0.8986 GB, free: 380 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.009778, allocations: 79.38 kB / 0.8986 GB, free: 288 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009783, allocations: 4 kB / 0.8986 GB, free: 284 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.009798, allocations: 4 kB / 0.8986 GB, free: 280 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.009912, allocations: 35.91 kB / 0.8987 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009915, allocations: 0 / 0.8987 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.01008, allocations: 55.75 kB / 0.8987 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.01014, allocations: 67.97 kB / 0.8988 GB, free: 120 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.0001333/0.01027, allocations: 182.7 kB / 0.899 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.01032, allocations: 47.75 kB / 0.899 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.01036, allocations: 31.69 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01036, allocations: 0 / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01037, allocations: 4 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01037, allocations: 3.984 kB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.01095, allocations: 0.6139 MB / 0.8996 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.01095, allocations: 4 kB / 0.8996 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.01097, allocations: 4 kB / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01097, allocations: 0 / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.01099, allocations: 23.97 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01099, allocations: 4 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.011, allocations: 7.875 kB / 0.8997 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.01134, allocations: 440 kB / 0.9001 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.01148, allocations: 133.8 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.01152, allocations: 16 kB / 0.9002 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.01169, allocations: 27.97 kB / 0.9003 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01171, allocations: 15.92 kB / 0.9003 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.01175, allocations: 55.97 kB / 0.9003 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001292/0.01188, allocations: 263 kB / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01188, allocations: 0 / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000222/0.0121, allocations: 64 kB / 0.9007 GB, free: 14.14 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 0.0001057/0.01221, allocations: 130.6 kB / 0.9008 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004186/0.01263, allocations: 421.6 kB / 0.9012 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01263, allocations: 384 / 0.9012 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.01273, allocations: 81.92 kB / 0.9013 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01296, allocations: 53.61 kB / 0.9013 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.01358, allocations: 479 kB / 0.9018 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01363, allocations: 87.81 kB / 0.9019 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.01366, allocations: 13.14 kB / 0.9019 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.01383, allocations: 138.2 kB / 0.902 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of SimCode: time 7.32e-07/0.01383, allocations: 0 / 0.902 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.006146/0.01998, allocations: 5.34 MB / 0.9072 GB, free: 7.273 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.370880793780088]