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.001602/0.001602, allocations: 113.9 kB / 17.13 MB, free: 5.926 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.001674/0.001674, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.941/2.941, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 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.002026/0.002026, allocations: 71.89 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9629/0.9649, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002542/0.9674, allocations: 1.759 MB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.9686, allocations: 0.6326 MB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.9687, allocations: 0 / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.9688, allocations: 11.2 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.9689, allocations: 37.08 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.9696, allocations: 365.4 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.9701, allocations: 0.593 MB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.9702, allocations: 22.09 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.9705, allocations: 314.7 kB / 1.326 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.9707, allocations: 164.4 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.9708, allocations: 41.84 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.9708, allocations: 40.59 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.971, allocations: 130.6 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.9712, allocations: 213.2 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.9717, allocations: 0.5988 MB / 1.327 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9717, allocations: 0 / 1.327 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9717, allocations: 0 / 1.327 GB, free: 22.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9717, allocations: 0.6875 kB / 1.327 GB, free: 22.34 MB / 1.061 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.001269/0.973, allocations: 0.9209 MB / 1.328 GB, free: 21.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.973, allocations: 9.875 kB / 1.328 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.9732, allocations: 56.12 kB / 1.328 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.9736, allocations: 336 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.9737, allocations: 28.44 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.9738, allocations: 26.59 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.9748, allocations: 235 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9749, allocations: 4.938 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.9749, allocations: 13.97 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9749, allocations: 2.125 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.9758, allocations: 120.8 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.9773, allocations: 0.6617 MB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.9784, allocations: 186.4 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.9792, allocations: 104.7 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.9792, allocations: 3.125 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.9803, allocations: 231.2 kB / 1.33 GB, free: 20.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.9803, allocations: 0 / 1.33 GB, free: 20.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002895/0.9832, allocations: 0.4936 MB / 1.33 GB, free: 20.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.9832, allocations: 62.2 kB / 1.33 GB, free: 20.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.9838, allocations: 444.3 kB / 1.331 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.9839, allocations: 40.86 kB / 1.331 GB, free: 20.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.984, allocations: 108.9 kB / 1.331 GB, free: 19.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.984, allocations: 29.66 kB / 1.331 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.9842, allocations: 149.3 kB / 1.331 GB, free: 19.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.9843, allocations: 325.3 kB / 1.331 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.9846, allocations: 138.9 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.9849, allocations: 188.8 kB / 1.332 GB, free: 19.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.9853, allocations: 304.5 kB / 1.332 GB, free: 19.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9853, allocations: 0 / 1.332 GB, free: 19.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00091/0.9862, allocations: 0.5272 MB / 1.332 GB, free: 18.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.9863, allocations: 98.86 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9863, allocations: 1.094 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9863, allocations: 2.969 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.9865, allocations: 23.33 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9865, allocations: 4.203 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.9871, allocations: 58.36 kB / 1.332 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.9872, allocations: 61.5 kB / 1.333 GB, free: 18.85 MB / 1.061 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.000299/0.9875, allocations: 222.2 kB / 1.333 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.9875, allocations: 42.12 kB / 1.333 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.9876, allocations: 42.89 kB / 1.333 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9876, allocations: 1.75 kB / 1.333 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9876, allocations: 4.609 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9876, allocations: 1.141 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.9902, allocations: 0.7866 MB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.9902, allocations: 0.7969 kB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.9902, allocations: 8.5 kB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.9902, allocations: 1.375 kB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.9903, allocations: 22.56 kB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9903, allocations: 5.781 kB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9903, allocations: 3.938 kB / 1.334 GB, free: 18.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.9924, allocations: 483.2 kB / 1.334 GB, free: 18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.9927, allocations: 253.5 kB / 1.334 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.9928, allocations: 17.75 kB / 1.334 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.9933, allocations: 32.8 kB / 1.334 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.9933, allocations: 10.98 kB / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.9934, allocations: 60.2 kB / 1.334 GB, free: 17.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003767/0.9938, allocations: 319.1 kB / 1.335 GB, free: 17.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9938, allocations: 0 / 1.335 GB, free: 17.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004988/0.9943, allocations: 67.36 kB / 1.335 GB, free: 17.64 MB / 1.061 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.0001771/0.9944, allocations: 122.1 kB / 1.335 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.9958, allocations: 444.3 kB / 1.335 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9958, allocations: 0 / 1.335 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.9967, allocations: 114.3 kB / 1.336 GB, free: 17.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.9971, allocations: 36.45 kB / 1.336 GB, free: 17.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.9987, allocations: 0.6541 MB / 1.336 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.9989, allocations: 0.7864 MB / 1.337 GB, free: 16.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.999, allocations: 17.08 kB / 1.337 GB, free: 16.2 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.999, allocations: 0 / 1.337 GB, free: 16.2 MB / 1.061 GB Notification: Performance of Templates: time 0.007197/1.006, allocations: 4.101 MB / 1.341 GB, free: 15.61 MB / 1.061 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 -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: 11.509834985990892]