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.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.001575/0.001575, allocations: 110 kB / 18.93 MB, free: 2.945 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.002189/0.002189, allocations: 192 kB / 22.23 MB, free: 5.16 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.252/3.252, allocations: 0.4893 GB / 0.7884 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 61.94 kB / 1.145 GB, free: 30.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 174.9 MB / 1.316 GB, free: 9.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003176/0.3578, allocations: 1.742 MB / 1.318 GB, free: 7.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3592, allocations: 0.6246 MB / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.3593, allocations: 0 / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.3594, allocations: 15.75 kB / 1.318 GB, free: 7.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3595, allocations: 39.78 kB / 1.318 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.3603, allocations: 375 kB / 1.319 GB, free: 6.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.3609, allocations: 0.601 MB / 1.319 GB, free: 6.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.361, allocations: 33 kB / 1.319 GB, free: 6.133 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.3615, allocations: 311.6 kB / 1.32 GB, free: 5.828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.3617, allocations: 163.5 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.3618, allocations: 44 kB / 1.32 GB, free: 5.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.3619, allocations: 40 kB / 1.32 GB, free: 5.586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3621, allocations: 127.6 kB / 1.32 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.3623, allocations: 211 kB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.3629, allocations: 0.6072 MB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3629, allocations: 0 / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3629, allocations: 0 / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3629, allocations: 0 / 1.321 GB, free: 4.645 MB / 1.014 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.001301/0.3642, allocations: 0.8456 MB / 1.322 GB, free: 3.727 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3643, allocations: 16.03 kB / 1.322 GB, free: 3.711 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3644, allocations: 56.66 kB / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3648, allocations: 284.6 kB / 1.322 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.3649, allocations: 20.36 kB / 1.322 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.365, allocations: 32.36 kB / 1.322 GB, free: 3.305 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.3659, allocations: 231.5 kB / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3659, allocations: 192 / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.366, allocations: 15.92 kB / 1.322 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.366, allocations: 4 kB / 1.322 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.3667, allocations: 107.9 kB / 1.322 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3681, allocations: 0.6438 MB / 1.323 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.369, allocations: 174.5 kB / 1.323 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.3698, allocations: 108.8 kB / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3698, allocations: 0 / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009668/0.3707, allocations: 233.9 kB / 1.324 GB, free: 1.734 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3707, allocations: 0 / 1.324 GB, free: 1.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002459/0.3732, allocations: 0.4895 MB / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3733, allocations: 63.39 kB / 1.324 GB, free: 1.164 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.3737, allocations: 437.9 kB / 1.324 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.3738, allocations: 41.7 kB / 1.325 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.3739, allocations: 105.3 kB / 1.325 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.374, allocations: 47.67 kB / 1.325 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3742, allocations: 133.5 kB / 1.325 GB, free: 396 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3743, allocations: 326.8 kB / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.3746, allocations: 135.9 kB / 1.325 GB, free: 15.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.375, allocations: 210.5 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.3754, allocations: 299 kB / 1.326 GB, free: 15.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3754, allocations: 0 / 1.326 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008925/0.3763, allocations: 0.5217 MB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.3764, allocations: 95.38 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3764, allocations: 0 / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3764, allocations: 4 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3766, allocations: 20.17 kB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3766, allocations: 7.938 kB / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.377, allocations: 63.78 kB / 1.326 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/0.3771, allocations: 63.97 kB / 1.326 GB, free: 14.57 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.0002538/0.3774, allocations: 216.3 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.3774, allocations: 43.7 kB / 1.327 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.3775, allocations: 51.66 kB / 1.327 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3775, allocations: 0 / 1.327 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3775, allocations: 4 kB / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3775, allocations: 0 / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.3798, allocations: 0.7591 MB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3798, allocations: 4 kB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.3798, allocations: 7.938 kB / 1.328 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3798, allocations: 0 / 1.328 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.3799, allocations: 19.97 kB / 1.328 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3799, allocations: 3.938 kB / 1.328 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3799, allocations: 0 / 1.328 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.3816, allocations: 485.4 kB / 1.328 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.382, allocations: 177.5 kB / 1.328 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.382, allocations: 16 kB / 1.328 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.3825, allocations: 39.91 kB / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3826, allocations: 7.984 kB / 1.328 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.3827, allocations: 55.97 kB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004591/0.3831, allocations: 319.1 kB / 1.329 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3831, allocations: 0 / 1.329 GB, free: 12.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005092/0.3836, allocations: 79.86 kB / 1.329 GB, free: 12.25 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.0003001/0.3839, allocations: 128.4 kB / 1.329 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.3854, allocations: 434.5 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3854, allocations: 0 / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.3861, allocations: 118.2 kB / 1.329 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3866, allocations: 39.19 kB / 1.329 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3884, allocations: 0.6056 MB / 1.33 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.3889, allocations: 0.7863 MB / 1.331 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.848e-05/0.389, allocations: 21.41 kB / 1.331 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.3891, allocations: 15.44 kB / 1.331 GB, free: 10.03 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3891, allocations: 0 / 1.331 GB, free: 10.03 MB / 1.029 GB Notification: Performance of Templates: time 0.01111/0.4002, allocations: 5.517 MB / 1.336 GB, free: 4.418 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.090086408890784]