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.0008243/0.0008243, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001919, 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.001043/0.001043, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002494, 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.98/0.98, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09938/1.079, 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.333/2.333, allocations: 447.1 MB / 0.675 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2369/2.57, allocations: 146 MB / 0.8176 GB, free: 3.781 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 9.82e-07/9.82e-07, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.337e-06/1.032e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001702/0.001713, allocations: 1.611 MB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.002519, allocations: 0.5499 MB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.002553, allocations: 3.938 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.00259, allocations: 15.86 kB / 0.821 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.002652, allocations: 19.86 kB / 0.821 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.003077, allocations: 345.4 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.003418, allocations: 491.5 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.664e-05/0.003445, allocations: 4 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.003925, allocations: 379.5 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.004115, allocations: 139.5 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.004168, allocations: 28 kB / 0.8224 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.004225, allocations: 28 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.004313, allocations: 107.8 kB / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.004404, allocations: 99.75 kB / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.004647, allocations: 331 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.004655, allocations: 0 / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004656, allocations: 0 / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.004665, allocations: 0 / 0.8229 GB, free: 14.37 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.0007244/0.005389, allocations: 0.8283 MB / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.541e-05/0.005414, allocations: 8.031 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.005486, allocations: 48.88 kB / 0.8238 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.005689, allocations: 236 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.005718, allocations: 16.38 kB / 0.824 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.005766, allocations: 32.36 kB / 0.824 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.006061, allocations: 175.5 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.006068, allocations: 4.188 kB / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006084, allocations: 384 / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00609, allocations: 384 / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.006167, allocations: 40.42 kB / 0.8242 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.006317, allocations: 116.9 kB / 0.8244 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.006459, allocations: 98.47 kB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.006523, allocations: 44.83 kB / 0.8245 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.006538, allocations: 4 kB / 0.8245 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.006693, allocations: 159.2 kB / 0.8246 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 8.62e-07/0.006694, allocations: 0 / 0.8246 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002941/0.006988, allocations: 201.5 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.00702, allocations: 63.39 kB / 0.8249 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.007193, allocations: 323.3 kB / 0.8252 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.007227, allocations: 41.7 kB / 0.8253 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.007273, allocations: 97.42 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.007304, allocations: 43.66 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.007406, allocations: 109.4 kB / 0.8255 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.007481, allocations: 330.7 kB / 0.8258 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.007619, allocations: 159.3 kB / 0.826 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.007761, allocations: 205.2 kB / 0.8262 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.007935, allocations: 244.1 kB / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007937, allocations: 0 / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003285/0.008266, allocations: 432.1 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.008321, allocations: 83.38 kB / 0.8269 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008326, allocations: 0 / 0.8269 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.008337, allocations: 4 kB / 0.8269 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.008456, allocations: 43.89 kB / 0.8269 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.008461, allocations: 4 kB / 0.8269 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.008616, allocations: 39.92 kB / 0.827 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.008659, allocations: 51.92 kB / 0.827 GB, free: 9.836 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 9.964e-05/0.008759, allocations: 146.7 kB / 0.8272 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.008796, allocations: 31.97 kB / 0.8272 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.008832, allocations: 31.67 kB / 0.8272 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.008836, allocations: 4 kB / 0.8272 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008838, allocations: 0 / 0.8272 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008841, allocations: 0 / 0.8272 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.009227, allocations: 385.7 kB / 0.8276 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.009228, allocations: 3.938 kB / 0.8276 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.00925, allocations: 4 kB / 0.8276 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.009377, allocations: 123.8 kB / 0.8277 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009379, allocations: 0 / 0.8277 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.009396, allocations: 15.97 kB / 0.8277 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009398, allocations: 3.938 kB / 0.8277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.0094, allocations: 0 / 0.8277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.009591, allocations: 231.9 kB / 0.828 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.009633, allocations: 16 kB / 0.828 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.009797, allocations: 27.97 kB / 0.828 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.009819, allocations: 15.92 kB / 0.828 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.009858, allocations: 51.97 kB / 0.8281 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.961e-05/0.009948, allocations: 140.6 kB / 0.8282 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009948, allocations: 0 / 0.8282 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001907/0.01014, allocations: 67.98 kB / 0.8283 GB, free: 8.508 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 8.487e-05/0.01022, allocations: 100.2 kB / 0.8284 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.01059, allocations: 398.7 kB / 0.8287 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.01059, allocations: 4.562 kB / 0.8287 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.01068, allocations: 75.28 kB / 0.8288 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.01103, allocations: 121 kB / 0.8289 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.01184, allocations: 464.1 kB / 0.8294 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.01189, allocations: 83.81 kB / 0.8294 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.01192, allocations: 21.12 kB / 0.8295 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.01209, allocations: 115.3 kB / 0.8296 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.01209, allocations: 0 / 0.8296 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.005693/0.01778, allocations: 5.337 MB / 0.8348 GB, free: 1.656 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1510367738083005]