Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001219/0.001219, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001511/0.001511, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.282/3.282, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [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.002747/0.002747, allocations: 69.38 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4284, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003813/0.4322, allocations: 1.736 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.4338, allocations: 0.6013 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.4338, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.434, allocations: 7.875 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.4341, allocations: 35.78 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.4351, allocations: 368.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.4359, allocations: 0.597 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.436, allocations: 29.23 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.4364, allocations: 323.5 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.4368, allocations: 165.1 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.4369, allocations: 40 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.437, allocations: 44 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.4371, allocations: 127.6 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.4374, allocations: 175.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.438, allocations: 0.6111 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.438, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.826e-06/0.438, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4381, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 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.001581/0.4396, allocations: 0.8339 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/0.4397, allocations: 8.031 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4398, allocations: 60.64 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.4404, allocations: 284.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.4404, allocations: 16.38 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.4405, allocations: 32.36 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.4417, allocations: 234 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4417, allocations: 192 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4417, allocations: 7.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4417, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.4426, allocations: 119.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.4441, allocations: 0.5352 MB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.4452, allocations: 170.5 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.446, allocations: 108.8 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.446, allocations: 4 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.4471, allocations: 227.1 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.4471, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002953/0.45, allocations: 0.4915 MB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.4501, allocations: 71.38 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.4507, allocations: 437.9 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.4508, allocations: 41.7 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4509, allocations: 105.3 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.4509, allocations: 43.73 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.4512, allocations: 141.4 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4513, allocations: 326.8 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.4517, allocations: 219.3 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.4521, allocations: 278.9 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.4525, allocations: 295.7 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4525, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.4537, allocations: 0.5956 MB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4538, allocations: 89.09 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4538, allocations: 3.984 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4538, allocations: 4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.454, allocations: 19.92 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.454, allocations: 7.984 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.4546, allocations: 71.97 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.885e-05/0.4547, allocations: 55.98 kB / 1.338 GB, free: 5.906 MB / 1.029 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.0003252/0.455, allocations: 216.8 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.4551, allocations: 43.66 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.4552, allocations: 47.72 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4552, allocations: 0 / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4552, allocations: 4 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4552, allocations: 0 / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.4577, allocations: 0.7128 MB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4577, allocations: 3.938 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.4577, allocations: 4 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4577, allocations: 4 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.4577, allocations: 19.97 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4577, allocations: 0 / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4577, allocations: 0 / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.4598, allocations: 493.7 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.4601, allocations: 185.5 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.4602, allocations: 16 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.4608, allocations: 35.95 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.4608, allocations: 11.92 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.4609, allocations: 55.97 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003672/0.4612, allocations: 319.1 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4612, allocations: 3.938 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004562/0.4617, allocations: 79.86 kB / 1.34 GB, free: 3.621 MB / 1.029 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.0002176/0.4619, allocations: 131.9 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.4635, allocations: 0.4979 MB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4635, allocations: 0 / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.4644, allocations: 112.3 kB / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4648, allocations: 41.69 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.4666, allocations: 0.5979 MB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4668, allocations: 182.7 kB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.761e-05/0.4669, allocations: 17.42 kB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.467, allocations: 15.42 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.467, allocations: 0 / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of Templates: time 0.01176/0.4787, allocations: 6.609 MB / 1.348 GB, free: 11.28 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.447895225996035]