Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 199.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9213/0.9233, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003202/0.9265, allocations: 1.756 MB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.928, allocations: 0.6325 MB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.9281, allocations: 3.938 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.9282, allocations: 11.81 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.9283, allocations: 35.78 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.9292, allocations: 358.8 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.9299, allocations: 0.5931 MB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.93, allocations: 25.11 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.9304, allocations: 319.5 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.9308, allocations: 163.2 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.9308, allocations: 44 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.9309, allocations: 40 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.9311, allocations: 127.6 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.9313, allocations: 215 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.9319, allocations: 0.5981 MB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9319, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9319, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.9319, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 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.001443/0.9334, allocations: 0.917 MB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9334, allocations: 8.031 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.9336, allocations: 56.66 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.9341, allocations: 338.5 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.9341, allocations: 20.36 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.9342, allocations: 32.36 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9353, allocations: 241.9 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.9353, allocations: 192 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.9354, allocations: 3.938 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.9354, allocations: 4 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/0.9362, allocations: 115.9 kB / 1.281 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.9377, allocations: 0.672 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.9389, allocations: 170.5 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.9397, allocations: 108.8 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.9397, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.9408, allocations: 231.1 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.9408, allocations: 4 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002828/0.9436, allocations: 0.4923 MB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.9437, allocations: 63.39 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.9442, allocations: 445.9 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.9443, allocations: 41.69 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.9444, allocations: 105.3 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.9445, allocations: 35.75 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.9447, allocations: 141.4 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9448, allocations: 330.8 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.9451, allocations: 135.9 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.9455, allocations: 193.9 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.9459, allocations: 299.5 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9459, allocations: 0 / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009493/0.9468, allocations: 0.5319 MB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.947, allocations: 91.38 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.947, allocations: 7.938 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.947, allocations: 7.938 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.9472, allocations: 23.97 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9472, allocations: 4 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.9477, allocations: 51.84 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9478, allocations: 72.02 kB / 1.285 GB, free: 9.324 MB / 0.9825 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.0003077/0.9481, allocations: 220.3 kB / 1.285 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.9482, allocations: 35.77 kB / 1.285 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.9482, allocations: 43.78 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.9482, allocations: 4 kB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9482, allocations: 0 / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9482, allocations: 3.984 kB / 1.285 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.9506, allocations: 0.7873 MB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9506, allocations: 0 / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.9507, allocations: 7.984 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.9507, allocations: 0 / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.9507, allocations: 15.98 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9507, allocations: 15.86 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9507, allocations: 4 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.9525, allocations: 475.5 kB / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.9529, allocations: 248.6 kB / 1.286 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.953, allocations: 12 kB / 1.286 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.9535, allocations: 39.89 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.9535, allocations: 4 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.9536, allocations: 59.97 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003756/0.954, allocations: 319.1 kB / 1.287 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.954, allocations: 0 / 1.287 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004752/0.9544, allocations: 83.89 kB / 1.287 GB, free: 6.875 MB / 0.9825 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.0002162/0.9546, allocations: 129.9 kB / 1.287 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.956, allocations: 434.5 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.956, allocations: 4.375 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.9568, allocations: 111.9 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.9572, allocations: 41.53 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.9589, allocations: 0.6172 MB / 1.288 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.9594, allocations: 0.7903 MB / 1.289 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.276e-05/0.9595, allocations: 13.42 kB / 1.289 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.9595, allocations: 19.36 kB / 1.289 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.9595, allocations: 4 kB / 1.289 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.01083/0.9703, allocations: 5.479 MB / 1.294 GB, free: 15.07 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.113909452222288]