Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00172/0.00172, allocations: 81.27 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002071/0.002071, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.847/2.847, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.701e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002784/0.002811, allocations: 1.517 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004122, allocations: 0.5296 MB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.004178, allocations: 4 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.004282, allocations: 11.86 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.004422, allocations: 28.44 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.005307, allocations: 319.2 kB / 0.9533 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.00589, allocations: 491.4 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.005941, allocations: 12 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.006462, allocations: 355.6 kB / 0.9541 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.006769, allocations: 131.7 kB / 0.9542 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.006877, allocations: 24 kB / 0.9542 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.006984, allocations: 28 kB / 0.9543 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.007162, allocations: 119.6 kB / 0.9544 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.007382, allocations: 135.7 kB / 0.9545 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.007953, allocations: 458.8 kB / 0.9549 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.007958, allocations: 0 / 0.9549 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.542e-06/0.00796, allocations: 3.938 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.007968, allocations: 4 kB / 0.955 GB, free: 7.512 MB / 0.8575 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.00138/0.009349, allocations: 0.795 MB / 0.9557 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.009388, allocations: 8.031 kB / 0.9557 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.009517, allocations: 52.7 kB / 0.9558 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.00992, allocations: 260 kB / 0.956 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.009975, allocations: 20.36 kB / 0.9561 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.01006, allocations: 24.36 kB / 0.9561 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.01116, allocations: 235.1 kB / 0.9563 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.01117, allocations: 192 / 0.9563 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.0112, allocations: 4.375 kB / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.01121, allocations: 384 / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.01205, allocations: 123.8 kB / 0.9564 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.01246, allocations: 281.1 kB / 0.9567 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.01362, allocations: 178.5 kB / 0.9569 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.01445, allocations: 120.8 kB / 0.957 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.01447, allocations: 4 kB / 0.957 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.01553, allocations: 239.1 kB / 0.9572 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.01554, allocations: 0 / 0.9572 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002893/0.01843, allocations: 0.5224 MB / 0.9577 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.01847, allocations: 55.41 kB / 0.9578 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.01893, allocations: 421.8 kB / 0.9582 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.019, allocations: 37.7 kB / 0.9582 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.01908, allocations: 97.44 kB / 0.9583 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.01914, allocations: 47.61 kB / 0.9583 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.01935, allocations: 121.5 kB / 0.9585 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01949, allocations: 330.8 kB / 0.9588 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.01984, allocations: 199.3 kB / 0.959 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.02021, allocations: 241.2 kB / 0.9592 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.02062, allocations: 267.5 kB / 0.9595 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02062, allocations: 0 / 0.9595 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009704/0.02159, allocations: 0.5625 MB / 0.96 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.519e-05/0.02169, allocations: 87.36 kB / 0.9601 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02169, allocations: 0 / 0.9601 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.02172, allocations: 4 kB / 0.9601 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.02189, allocations: 19.98 kB / 0.9601 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.0219, allocations: 7.875 kB / 0.9601 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.02243, allocations: 72.03 kB / 0.9602 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.02253, allocations: 63.95 kB / 0.9602 GB, free: 1.766 MB / 0.8575 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.0002475/0.02278, allocations: 195.7 kB / 0.9604 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.02284, allocations: 39.72 kB / 0.9605 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.02292, allocations: 39.62 kB / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.02292, allocations: 7.984 kB / 0.9605 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.02293, allocations: 0 / 0.9605 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.02294, allocations: 3.938 kB / 0.9605 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.02539, allocations: 0.7128 MB / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02539, allocations: 0 / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.02543, allocations: 7.938 kB / 0.9612 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.02544, allocations: 0 / 0.9612 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.02548, allocations: 31.91 kB / 0.9613 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02549, allocations: 0 / 0.9613 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02549, allocations: 4 kB / 0.9613 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.02745, allocations: 0.5013 MB / 0.9617 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.02772, allocations: 129.5 kB / 0.9619 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.0278, allocations: 11.94 kB / 0.9619 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.02835, allocations: 43.97 kB / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.02839, allocations: 7.984 kB / 0.9619 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.02847, allocations: 63.97 kB / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003306/0.0288, allocations: 291.1 kB / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.0288, allocations: 0 / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003861/0.02919, allocations: 67.98 kB / 0.9623 GB, free: 15.56 MB / 0.8731 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.0001822/0.02937, allocations: 128.9 kB / 0.9625 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.0308, allocations: 489.9 kB / 0.9629 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0308, allocations: 0 / 0.9629 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.03166, allocations: 125.7 kB / 0.963 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.03205, allocations: 36.06 kB / 0.9631 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.03368, allocations: 0.5612 MB / 0.9636 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.03388, allocations: 162.8 kB / 0.9638 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.03394, allocations: 17.14 kB / 0.9638 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.03399, allocations: 20.5 kB / 0.9638 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.03399, allocations: 0 / 0.9638 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01067/0.04466, allocations: 5.868 MB / 0.9695 GB, free: 8.047 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.85498883202672]