Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001181/0.001181, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002622, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008131/0.0008131, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001868, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9822/0.9822, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09517/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.852/1.852, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.567/2.419, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.033e-05, allocations: 3.188 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002749/0.00277, allocations: 1.611 MB / 0.7309 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004077, allocations: 0.5619 MB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.004158, allocations: 0 / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.004241, allocations: 8.469 kB / 0.7314 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.004389, allocations: 21.92 kB / 0.7314 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.005322, allocations: 343.7 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.006003, allocations: 493.4 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.006052, allocations: 11.92 kB / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.006615, allocations: 367.7 kB / 0.7326 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.006942, allocations: 140.3 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.007019, allocations: 28.75 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.007084, allocations: 24 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.007209, allocations: 105 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.007351, allocations: 99.75 kB / 0.733 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.007778, allocations: 331 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.138e-05/0.0078, allocations: 0.875 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.007802, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.007826, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 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.001354/0.009181, allocations: 0.818 MB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.009225, allocations: 17.58 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.009377, allocations: 48.88 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.009648, allocations: 240 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.009686, allocations: 16.36 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.009728, allocations: 25.59 kB / 0.7344 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.01008, allocations: 186.5 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.01009, allocations: 192 / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.01011, allocations: 384 / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.01011, allocations: 4.375 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.01019, allocations: 39.97 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.01036, allocations: 114.2 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.01052, allocations: 102.8 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.01059, allocations: 42.47 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01061, allocations: 0 / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.0108, allocations: 150.2 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.0108, allocations: 0 / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003184/0.01112, allocations: 208.4 kB / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.01116, allocations: 55.41 kB / 0.7353 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01135, allocations: 331.3 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.01139, allocations: 37.7 kB / 0.7356 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.01144, allocations: 102.4 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.01147, allocations: 31.78 kB / 0.7358 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01157, allocations: 113.3 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.01166, allocations: 328.7 kB / 0.7362 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.01181, allocations: 151.3 kB / 0.7363 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.01196, allocations: 213.2 kB / 0.7365 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.01216, allocations: 245.7 kB / 0.7368 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01216, allocations: 4 kB / 0.7368 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003311/0.0125, allocations: 427.5 kB / 0.7372 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.01256, allocations: 80.09 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.01256, allocations: 4 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.01257, allocations: 1.5 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01271, allocations: 51.89 kB / 0.7373 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01272, allocations: 0 / 0.7373 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.01287, allocations: 40.92 kB / 0.7374 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.01294, allocations: 51.92 kB / 0.7374 GB, free: 12.04 MB / 0.7136 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.0001285/0.01307, allocations: 151.7 kB / 0.7376 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.01311, allocations: 23.97 kB / 0.7376 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.01315, allocations: 36.89 kB / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01315, allocations: 4 kB / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.01315, allocations: 0 / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01316, allocations: 0 / 0.7376 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.01359, allocations: 386.3 kB / 0.738 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01359, allocations: 0 / 0.738 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.01363, allocations: 5.062 kB / 0.738 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.01376, allocations: 127.5 kB / 0.7381 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01376, allocations: 4 kB / 0.7381 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01378, allocations: 13 kB / 0.7381 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01378, allocations: 7.938 kB / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01378, allocations: 0 / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.014, allocations: 237.2 kB / 0.7384 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.01404, allocations: 12.94 kB / 0.7384 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.01421, allocations: 28.91 kB / 0.7384 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.01424, allocations: 16.36 kB / 0.7384 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.01428, allocations: 53.5 kB / 0.7385 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.439e-05/0.01437, allocations: 132.7 kB / 0.7386 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01437, allocations: 0 / 0.7386 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000181/0.01455, allocations: 67.98 kB / 0.7387 GB, free: 10.73 MB / 0.7136 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.0001138/0.01467, allocations: 95.84 kB / 0.7388 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.01508, allocations: 409.5 kB / 0.7391 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.01508, allocations: 4 kB / 0.7391 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.01517, allocations: 61.16 kB / 0.7392 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01539, allocations: 66.53 kB / 0.7393 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.0163, allocations: 464.8 kB / 0.7397 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.8e-05/0.01635, allocations: 83.81 kB / 0.7398 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.01638, allocations: 15.08 kB / 0.7398 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.01655, allocations: 118.7 kB / 0.7399 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01655, allocations: 0 / 0.7399 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.006308/0.02286, allocations: 5.361 MB / 0.7452 GB, free: 4.047 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.007797825150192]