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.0008296/0.0008296, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001904, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007276/0.0007276, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001676, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9951/0.9951, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08999/1.085, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2432/2.625, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.703e-06/1.703e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.341e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003126/0.003149, allocations: 1.609 MB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.00451, allocations: 0.5499 MB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.004568, allocations: 0 / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.681e-05/0.004634, allocations: 11.88 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.004755, allocations: 35.78 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.005586, allocations: 323.2 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.006228, allocations: 495.4 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.006271, allocations: 8 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/0.006806, allocations: 375.6 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.007131, allocations: 137.8 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.007217, allocations: 24 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.007288, allocations: 31.94 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.007413, allocations: 107.8 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.007556, allocations: 99.75 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.007956, allocations: 331 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.007976, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007976, allocations: 0 / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.007996, allocations: 4 kB / 0.8223 GB, free: 14.8 MB / 0.8073 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.00122/0.009217, allocations: 0.8205 MB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.009255, allocations: 12.62 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.009373, allocations: 48.88 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.00968, allocations: 232.1 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.009725, allocations: 16.36 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.0098, allocations: 36.34 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.01025, allocations: 185.8 kB / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.01026, allocations: 192 / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.01028, allocations: 384 / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01029, allocations: 8.375 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.01041, allocations: 35.92 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.01064, allocations: 120.8 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.01087, allocations: 98.48 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.01098, allocations: 36.84 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.011, allocations: 4 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01125, allocations: 155.2 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.01126, allocations: 0 / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004751/0.01173, allocations: 203.8 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.01177, allocations: 63.39 kB / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.01206, allocations: 327.3 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.01211, allocations: 41.69 kB / 0.8246 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.01217, allocations: 93.42 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.01221, allocations: 43.72 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.01237, allocations: 109.4 kB / 0.8248 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.01247, allocations: 330.7 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.0127, allocations: 155.3 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.01293, allocations: 201.3 kB / 0.8255 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.0132, allocations: 249.1 kB / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.01321, allocations: 4 kB / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005512/0.01376, allocations: 427 kB / 0.8262 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.01384, allocations: 89.97 kB / 0.8262 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.01385, allocations: 4 kB / 0.8262 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01386, allocations: 0 / 0.8262 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01403, allocations: 39.95 kB / 0.8263 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01404, allocations: 8.125 kB / 0.8263 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.0143, allocations: 43.92 kB / 0.8263 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.01437, allocations: 51.92 kB / 0.8264 GB, free: 10.27 MB / 0.8073 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.0001514/0.01452, allocations: 142.6 kB / 0.8265 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.01458, allocations: 31.91 kB / 0.8265 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.01463, allocations: 27.69 kB / 0.8266 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01464, allocations: 4 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01464, allocations: 3.984 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01465, allocations: 0 / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.01526, allocations: 382.8 kB / 0.8269 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01526, allocations: 0 / 0.8269 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.0153, allocations: 11.94 kB / 0.827 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.01553, allocations: 119.5 kB / 0.8271 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01553, allocations: 4 kB / 0.8271 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.01556, allocations: 7.984 kB / 0.8271 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.01556, allocations: 11.92 kB / 0.8271 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01556, allocations: 3.938 kB / 0.8271 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.01589, allocations: 234.5 kB / 0.8273 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.01596, allocations: 12 kB / 0.8273 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.01621, allocations: 27.97 kB / 0.8274 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.01624, allocations: 11.92 kB / 0.8274 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.0163, allocations: 51.97 kB / 0.8274 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001466/0.01644, allocations: 148.7 kB / 0.8276 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01644, allocations: 0 / 0.8276 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003068/0.01675, allocations: 63.98 kB / 0.8276 GB, free: 8.945 MB / 0.8073 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.0001318/0.01688, allocations: 96.34 kB / 0.8277 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.01743, allocations: 398.7 kB / 0.8281 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.01744, allocations: 7.984 kB / 0.8281 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01756, allocations: 57.2 kB / 0.8282 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01784, allocations: 65.59 kB / 0.8282 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.01901, allocations: 464.1 kB / 0.8287 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01907, allocations: 84.19 kB / 0.8287 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.71e-05/0.01912, allocations: 21.08 kB / 0.8288 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.0193, allocations: 123.3 kB / 0.8289 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.0193, allocations: 0 / 0.8289 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of Templates: time 0.006054/0.02535, allocations: 5.364 MB / 0.8341 GB, free: 2.141 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.ref.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.199056660756469]