Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001015/0.001015, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002447, allocations: 440 kB / 10.41 MB, free: 284 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.001036/0.001036, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.00245, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9544/0.9544, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/1.047, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.352/2.352, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2373/2.589, allocations: 146 MB / 0.8176 GB, free: 3.836 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.CalendarTimeMonthsMinus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.334e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001674/0.001687, allocations: 1.616 MB / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.002574, allocations: 0.5549 MB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.002626, allocations: 0 / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.002667, allocations: 7.875 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.002738, allocations: 35.78 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.003243, allocations: 326.4 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.003631, allocations: 495.5 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.703e-05/0.003658, allocations: 4 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.003978, allocations: 371.6 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.004166, allocations: 147.5 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.004215, allocations: 28 kB / 0.8224 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.004266, allocations: 24 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.004343, allocations: 107.8 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.004427, allocations: 99.75 kB / 0.8226 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.004666, allocations: 334.9 kB / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.004674, allocations: 0 / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004674, allocations: 0 / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.004683, allocations: 0 / 0.8229 GB, free: 14.4 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.0006984/0.005381, allocations: 0.8283 MB / 0.8237 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.27e-05/0.005404, allocations: 8.031 kB / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.005476, allocations: 48.88 kB / 0.8238 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.005667, allocations: 236 kB / 0.824 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.005692, allocations: 16.38 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.005737, allocations: 28.3 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.006012, allocations: 184.2 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.006019, allocations: 192 / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.006033, allocations: 384 / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006038, allocations: 8.359 kB / 0.8242 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.006106, allocations: 43.92 kB / 0.8243 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.006243, allocations: 112.9 kB / 0.8244 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.006375, allocations: 94.53 kB / 0.8245 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.006437, allocations: 48.77 kB / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.006451, allocations: 4 kB / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.00659, allocations: 145.9 kB / 0.8247 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 7.11e-07/0.006591, allocations: 4 kB / 0.8247 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002747/0.006866, allocations: 197.5 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.006897, allocations: 67.33 kB / 0.8249 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.007067, allocations: 327.3 kB / 0.8252 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.007102, allocations: 37.7 kB / 0.8253 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.007162, allocations: 101.4 kB / 0.8254 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.0072, allocations: 35.72 kB / 0.8254 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.007333, allocations: 113.4 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.007411, allocations: 334.7 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.007549, allocations: 147.3 kB / 0.826 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.007698, allocations: 213.2 kB / 0.8262 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.007872, allocations: 243.5 kB / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007874, allocations: 0 / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003141/0.008188, allocations: 434.5 kB / 0.8268 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.008237, allocations: 79.38 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.00824, allocations: 0 / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.008249, allocations: 4 kB / 0.8269 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.008354, allocations: 47.89 kB / 0.8269 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008358, allocations: 4 kB / 0.8269 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.008507, allocations: 40.11 kB / 0.827 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.008549, allocations: 51.92 kB / 0.827 GB, free: 9.875 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.0001052/0.008654, allocations: 150.5 kB / 0.8272 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.008692, allocations: 23.97 kB / 0.8272 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.008727, allocations: 39.67 kB / 0.8272 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008729, allocations: 0 / 0.8272 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.008731, allocations: 0 / 0.8272 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008734, allocations: 0 / 0.8272 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.009118, allocations: 378.7 kB / 0.8276 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009119, allocations: 0 / 0.8276 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/0.009139, allocations: 12 kB / 0.8276 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.009268, allocations: 127.8 kB / 0.8277 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.00927, allocations: 0 / 0.8277 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.009287, allocations: 15.97 kB / 0.8277 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.00929, allocations: 7.875 kB / 0.8277 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009291, allocations: 0 / 0.8277 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.009514, allocations: 237.9 kB / 0.828 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.009553, allocations: 12 kB / 0.828 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.009711, allocations: 27.97 kB / 0.828 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.00973, allocations: 11.92 kB / 0.828 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.009766, allocations: 51.97 kB / 0.8281 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.39e-05/0.00986, allocations: 136.7 kB / 0.8282 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00986, allocations: 0 / 0.8282 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001912/0.01005, allocations: 75.98 kB / 0.8283 GB, free: 8.539 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 7.912e-05/0.01013, allocations: 92.91 kB / 0.8284 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.0105, allocations: 402.2 kB / 0.8287 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.01051, allocations: 8.094 kB / 0.8288 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.01059, allocations: 72.69 kB / 0.8288 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.0108, allocations: 123.9 kB / 0.8289 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.0116, allocations: 460.1 kB / 0.8294 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.01165, allocations: 83.81 kB / 0.8295 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.01168, allocations: 17.14 kB / 0.8295 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.01185, allocations: 123.3 kB / 0.8296 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.01185, allocations: 0 / 0.8296 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of Templates: time 0.006288/0.01814, allocations: 5.317 MB / 0.8348 GB, free: 1.703 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0786746283993125]