Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001767/0.001767, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002228/0.002228, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.99/2.99, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003265/0.003265, allocations: 79.86 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.056, allocations: 181.8 MB / 1.187 GB, free: 16.42 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002719/1.059, allocations: 1.734 MB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001299/1.06, allocations: 0.6109 MB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/1.06, allocations: 0 / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/1.06, allocations: 11.14 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/1.06, allocations: 39.25 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/1.061, allocations: 366.9 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/1.062, allocations: 0.6034 MB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/1.062, allocations: 16.19 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/1.062, allocations: 327.8 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/1.062, allocations: 150 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/1.063, allocations: 40.91 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/1.063, allocations: 40.84 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/1.063, allocations: 124 kB / 1.191 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/1.063, allocations: 178.8 kB / 1.191 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/1.064, allocations: 0.5966 MB / 1.191 GB, free: 13.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.064, allocations: 1.25 kB / 1.191 GB, free: 13.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/1.064, allocations: 3.938 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.064, allocations: 4 kB / 1.191 GB, free: 13.74 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.001187/1.065, allocations: 0.8376 MB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.065, allocations: 13.03 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/1.065, allocations: 57.73 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/1.065, allocations: 280.5 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/1.065, allocations: 23.38 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/1.066, allocations: 31.03 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.067, allocations: 256.6 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.067, allocations: 0.9375 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/1.067, allocations: 6.969 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.067, allocations: 2.281 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007862/1.067, allocations: 130.5 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/1.069, allocations: 0.5453 MB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.07, allocations: 183.1 kB / 1.194 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/1.071, allocations: 123.2 kB / 1.194 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/1.071, allocations: 1.781 kB / 1.194 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009681/1.071, allocations: 247.4 kB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/1.071, allocations: 0 / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.00264/1.074, allocations: 0.5383 MB / 1.195 GB, free: 12.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/1.074, allocations: 58.95 kB / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/1.075, allocations: 440.9 kB / 1.195 GB, free: 11.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/1.075, allocations: 40.23 kB / 1.195 GB, free: 11.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/1.075, allocations: 110.5 kB / 1.195 GB, free: 11.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/1.075, allocations: 45 kB / 1.195 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/1.075, allocations: 139.5 kB / 1.195 GB, free: 11.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/1.075, allocations: 326.2 kB / 1.196 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/1.075, allocations: 222.6 kB / 1.196 GB, free: 11.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/1.076, allocations: 273.6 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/1.076, allocations: 297.1 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.076, allocations: 0.8438 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008634/1.077, allocations: 0.608 MB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/1.077, allocations: 88.58 kB / 1.197 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.077, allocations: 2.219 kB / 1.197 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.077, allocations: 2.75 kB / 1.197 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.077, allocations: 23.92 kB / 1.197 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.077, allocations: 3.703 kB / 1.197 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/1.078, allocations: 64.95 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/1.078, allocations: 63.06 kB / 1.197 GB, free: 10.29 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.0002433/1.078, allocations: 226.2 kB / 1.197 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/1.078, allocations: 38.97 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/1.078, allocations: 42.19 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.078, allocations: 2.094 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.078, allocations: 4.844 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.078, allocations: 2.141 kB / 1.198 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.08, allocations: 0.7455 MB / 1.198 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.08, allocations: 1.656 kB / 1.198 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/1.081, allocations: 8.812 kB / 1.198 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.081, allocations: 1.188 kB / 1.198 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/1.081, allocations: 23.39 kB / 1.198 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.081, allocations: 5.438 kB / 1.198 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.081, allocations: 0 / 1.198 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.082, allocations: 0.5169 MB / 1.199 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.083, allocations: 178.2 kB / 1.199 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/1.083, allocations: 15.62 kB / 1.199 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/1.083, allocations: 36.2 kB / 1.199 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/1.083, allocations: 15.83 kB / 1.199 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/1.083, allocations: 57.34 kB / 1.199 GB, free: 9.414 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000378/1.084, allocations: 322.8 kB / 1.199 GB, free: 9.258 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.084, allocations: 1.125 kB / 1.199 GB, free: 9.258 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004965/1.084, allocations: 72 kB / 1.199 GB, free: 9.25 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.0001656/1.084, allocations: 129.6 kB / 1.2 GB, free: 9.141 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.086, allocations: 0.5207 MB / 1.2 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.086, allocations: 0 / 1.2 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/1.087, allocations: 132.6 kB / 1.2 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/1.087, allocations: 43.11 kB / 1.2 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.089, allocations: 0.6126 MB / 1.201 GB, free: 8.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/1.089, allocations: 180.5 kB / 1.201 GB, free: 8.375 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.712e-05/1.089, allocations: 16.48 kB / 1.201 GB, free: 8.367 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/1.089, allocations: 18.08 kB / 1.201 GB, free: 8.355 MB / 1.076 GB Notification: Performance of SimCode: time 7.51e-07/1.089, allocations: 0 / 1.201 GB, free: 8.355 MB / 1.076 GB Notification: Performance of Templates: time 0.01256/1.102, allocations: 6.56 MB / 1.207 GB, free: 7.027 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.584500274038874]