Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001396/0.001396, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001666/0.001666, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.544/1.544, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.978/2.978, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 67.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002384/1.009, allocations: 1.727 MB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001099/1.011, allocations: 0.609 MB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/1.011, allocations: 3.938 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.206e-05/1.011, allocations: 11.39 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/1.011, allocations: 34.59 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/1.012, allocations: 371.9 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/1.012, allocations: 0.5925 MB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/1.012, allocations: 25.36 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/1.012, allocations: 326.5 kB / 1.158 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/1.013, allocations: 145.6 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/1.013, allocations: 40.84 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/1.013, allocations: 41.88 kB / 1.158 GB, free: 31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/1.013, allocations: 124.7 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/1.013, allocations: 176.5 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/1.014, allocations: 0.6065 MB / 1.159 GB, free: 30.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.014, allocations: 2.562 kB / 1.159 GB, free: 30.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.474e-06/1.014, allocations: 0 / 1.159 GB, free: 30.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.014, allocations: 4 kB / 1.159 GB, free: 30.63 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001098/1.015, allocations: 0.8405 MB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.015, allocations: 7.969 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.015, allocations: 61.69 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/1.015, allocations: 279.4 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/1.015, allocations: 21.22 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/1.015, allocations: 32.34 kB / 1.16 GB, free: 29.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/1.016, allocations: 253.7 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.016, allocations: 192 / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/1.016, allocations: 3.938 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.016, allocations: 2.844 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/1.017, allocations: 132.9 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000997/1.018, allocations: 0.5388 MB / 1.161 GB, free: 29.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/1.019, allocations: 193 kB / 1.161 GB, free: 29.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/1.02, allocations: 119 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/1.02, allocations: 4 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/1.021, allocations: 247.3 kB / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/1.021, allocations: 0 / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002376/1.023, allocations: 0.5358 MB / 1.162 GB, free: 28.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.023, allocations: 58.25 kB / 1.162 GB, free: 28.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/1.023, allocations: 444.2 kB / 1.162 GB, free: 28.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.023, allocations: 43.64 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/1.023, allocations: 104.7 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/1.024, allocations: 40.58 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.024, allocations: 143.4 kB / 1.163 GB, free: 28.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/1.024, allocations: 325 kB / 1.163 GB, free: 28.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.024, allocations: 219.7 kB / 1.163 GB, free: 28.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.024, allocations: 285.7 kB / 1.163 GB, free: 27.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/1.025, allocations: 299.7 kB / 1.164 GB, free: 27.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.025, allocations: 0 / 1.164 GB, free: 27.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007554/1.025, allocations: 0.6012 MB / 1.164 GB, free: 27.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/1.025, allocations: 89.92 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.025, allocations: 2.75 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.025, allocations: 2.906 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/1.026, allocations: 25.45 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.026, allocations: 3.219 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/1.026, allocations: 72.78 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/1.026, allocations: 65.98 kB / 1.165 GB, free: 27.18 MB / 1.076 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001783/1.026, allocations: 220.4 kB / 1.165 GB, free: 27.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.026, allocations: 42.88 kB / 1.165 GB, free: 26.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/1.026, allocations: 36.12 kB / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.026, allocations: 3.422 kB / 1.165 GB, free: 26.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.026, allocations: 7.031 kB / 1.165 GB, free: 26.97 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/1.026, allocations: 0 / 1.165 GB, free: 26.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/1.028, allocations: 0.7397 MB / 1.166 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.028, allocations: 4 kB / 1.166 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/1.028, allocations: 6.656 kB / 1.166 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.028, allocations: 6.406 kB / 1.166 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/1.028, allocations: 24.27 kB / 1.166 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.028, allocations: 3.422 kB / 1.166 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.028, allocations: 0 / 1.166 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.03, allocations: 0.5053 MB / 1.166 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/1.03, allocations: 182.4 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/1.03, allocations: 23.5 kB / 1.166 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/1.031, allocations: 32.94 kB / 1.166 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/1.031, allocations: 13.45 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/1.031, allocations: 60.72 kB / 1.166 GB, free: 26.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002741/1.031, allocations: 324.2 kB / 1.167 GB, free: 26.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 0 / 1.167 GB, free: 26.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003775/1.032, allocations: 76.05 kB / 1.167 GB, free: 26.14 MB / 1.076 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001624/1.032, allocations: 130.7 kB / 1.167 GB, free: 26.03 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.033, allocations: 0.5178 MB / 1.167 GB, free: 25.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.033, allocations: 0 / 1.167 GB, free: 25.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007273/1.034, allocations: 131.4 kB / 1.168 GB, free: 25.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/1.034, allocations: 47.36 kB / 1.168 GB, free: 25.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.035, allocations: 0.6129 MB / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/1.036, allocations: 189.6 kB / 1.168 GB, free: 25.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.689e-05/1.036, allocations: 17.03 kB / 1.168 GB, free: 25.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/1.036, allocations: 16.88 kB / 1.168 GB, free: 25.24 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/1.036, allocations: 0 / 1.168 GB, free: 25.24 MB / 1.076 GB Notification: Performance of Templates: time 0.01047/1.046, allocations: 6.558 MB / 1.175 GB, free: 23.93 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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: 9.39974586898461]