Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.00151/0.00151, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001713/0.001713, allocations: 186 kB / 20.78 MB, free: 1.547 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.907/2.907, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 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.CalendarTimeMonthsPlus,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.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 1.107 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.279, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00346/1.282, allocations: 1.759 MB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001306/1.283, allocations: 0.6207 MB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/1.284, allocations: 5.188 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/1.284, allocations: 14.44 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/1.284, allocations: 32.7 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/1.285, allocations: 371 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006542/1.285, allocations: 0.5975 MB / 1.275 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/1.285, allocations: 22.38 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/1.286, allocations: 318.7 kB / 1.276 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/1.286, allocations: 160.6 kB / 1.276 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/1.286, allocations: 40.72 kB / 1.276 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/1.286, allocations: 40.84 kB / 1.276 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/1.287, allocations: 125.1 kB / 1.276 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/1.287, allocations: 212.9 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/1.287, allocations: 0.6057 MB / 1.277 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.287, allocations: 0 / 1.277 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/1.287, allocations: 4 kB / 1.277 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.287, allocations: 0.75 kB / 1.277 GB, free: 5.199 MB / 0.9981 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.001252/1.289, allocations: 0.9074 MB / 1.278 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.289, allocations: 9.438 kB / 1.278 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/1.289, allocations: 57.64 kB / 1.278 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/1.289, allocations: 348.7 kB / 1.278 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/1.289, allocations: 19.3 kB / 1.278 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/1.289, allocations: 35.45 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.29, allocations: 235.8 kB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.29, allocations: 192 / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.29, allocations: 7.062 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.29, allocations: 1.844 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/1.291, allocations: 116.7 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/1.293, allocations: 0.6722 MB / 1.279 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.294, allocations: 170.5 kB / 1.279 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.294, allocations: 106.5 kB / 1.279 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/1.294, allocations: 5.547 kB / 1.279 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.295, allocations: 234.3 kB / 1.28 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/1.295, allocations: 0.75 kB / 1.28 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002616/1.298, allocations: 500 kB / 1.28 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.298, allocations: 62.17 kB / 1.28 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/1.299, allocations: 437.7 kB / 1.281 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/1.299, allocations: 44.02 kB / 1.281 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/1.299, allocations: 105.4 kB / 1.281 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/1.299, allocations: 35.67 kB / 1.281 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.299, allocations: 138.3 kB / 1.281 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6e-05/1.299, allocations: 330.2 kB / 1.281 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/1.299, allocations: 138.1 kB / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.3, allocations: 197.4 kB / 1.282 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/1.3, allocations: 299.6 kB / 1.282 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.3, allocations: 3.938 kB / 1.282 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008254/1.301, allocations: 0.5293 MB / 1.282 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/1.301, allocations: 94.73 kB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/1.301, allocations: 0.6094 kB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.301, allocations: 4.125 kB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.301, allocations: 20.94 kB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.301, allocations: 4.641 kB / 1.282 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/1.302, allocations: 62.97 kB / 1.283 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/1.302, allocations: 61.38 kB / 1.283 GB, free: 1.719 MB / 0.9981 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.0002199/1.302, allocations: 223.8 kB / 1.283 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/1.302, allocations: 36.33 kB / 1.283 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/1.302, allocations: 48.25 kB / 1.283 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.302, allocations: 0 / 1.283 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.302, allocations: 2.688 kB / 1.283 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.302, allocations: 0.5156 kB / 1.283 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/1.304, allocations: 0.7886 MB / 1.284 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.304, allocations: 4.688 kB / 1.284 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/1.304, allocations: 11.5 kB / 1.284 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.304, allocations: 0.5156 kB / 1.284 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.304, allocations: 20.52 kB / 1.284 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.304, allocations: 7.406 kB / 1.284 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.304, allocations: 0 / 1.284 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/1.306, allocations: 479.5 kB / 1.284 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/1.306, allocations: 245.6 kB / 1.284 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/1.306, allocations: 15.47 kB / 1.284 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/1.307, allocations: 36.84 kB / 1.284 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/1.307, allocations: 7.703 kB / 1.284 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/1.307, allocations: 56.2 kB / 1.284 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003084/1.307, allocations: 319.4 kB / 1.285 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.307, allocations: 4 kB / 1.285 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003826/1.307, allocations: 75.83 kB / 1.285 GB, free: 0.5156 MB / 0.9981 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.0002019/1.308, allocations: 138.7 kB / 1.285 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001239/1.309, allocations: 437.9 kB / 1.285 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.309, allocations: 0 / 1.285 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/1.31, allocations: 114.4 kB / 1.286 GB, free: 172 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/1.31, allocations: 40.41 kB / 1.286 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.312, allocations: 0.6325 MB / 1.286 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/1.312, allocations: 0.7844 MB / 1.287 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.514e-05/1.312, allocations: 19.16 kB / 1.287 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/1.312, allocations: 13.5 kB / 1.287 GB, free: 15.07 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/1.312, allocations: 5.594 kB / 1.287 GB, free: 15.07 MB / 1.014 GB Notification: Performance of Templates: time 0.01283/1.325, allocations: 5.474 MB / 1.292 GB, free: 14.16 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.933713453821838]