Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 198.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.1 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 63.08 kB / 0.8694 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00341/0.3675, allocations: 1.574 MB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.369, allocations: 0.5448 MB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3691, allocations: 0 / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.3693, allocations: 7.938 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3695, allocations: 23.91 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.3705, allocations: 280.1 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.3712, allocations: 0.5033 MB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.3713, allocations: 12 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.3719, allocations: 339 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.3723, allocations: 167.2 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3724, allocations: 28 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.3725, allocations: 28 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.3726, allocations: 119.6 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.3729, allocations: 194.8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3733, allocations: 315.7 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3733, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3733, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3733, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001559/0.3749, allocations: 0.8782 MB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3749, allocations: 8.922 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3751, allocations: 48.47 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3755, allocations: 322 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.3756, allocations: 20.36 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.3757, allocations: 28.36 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3768, allocations: 210.9 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3768, allocations: 192 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.3768, allocations: 11.92 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3768, allocations: 3.984 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.3777, allocations: 107.8 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.3782, allocations: 385.3 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.3793, allocations: 174.5 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.3802, allocations: 112.8 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3802, allocations: 4 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3812, allocations: 223 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 4.097e-06/0.3812, allocations: 4 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002803/0.3841, allocations: 478.4 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.3841, allocations: 63.41 kB / 1.024 GB, free: 3.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.3847, allocations: 413.8 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.3848, allocations: 41.7 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3849, allocations: 93.44 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.385, allocations: 43.47 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.3852, allocations: 129.3 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3854, allocations: 322.8 kB / 1.025 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.3857, allocations: 119.9 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.386, allocations: 179.1 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3865, allocations: 283 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3865, allocations: 0 / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009307/0.3874, allocations: 492.6 kB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.3875, allocations: 91.31 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3876, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3876, allocations: 4.188 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3878, allocations: 23.92 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3878, allocations: 4 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.3884, allocations: 63.73 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/0.3885, allocations: 59.97 kB / 1.027 GB, free: 1.211 MB / 0.795 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002754/0.3887, allocations: 200 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.3888, allocations: 39.47 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.3889, allocations: 43.73 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3889, allocations: 3.938 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3889, allocations: 0 / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3889, allocations: 4 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.3914, allocations: 0.7426 MB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3914, allocations: 0 / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3914, allocations: 7.984 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3914, allocations: 0 / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.3915, allocations: 23.98 kB / 1.028 GB, free: 84 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3915, allocations: 4 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3915, allocations: 7.922 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.3934, allocations: 470.8 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.3937, allocations: 200.4 kB / 1.028 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.3938, allocations: 15.98 kB / 1.028 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.3943, allocations: 31.97 kB / 1.028 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3944, allocations: 7.984 kB / 1.028 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.3945, allocations: 63.97 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003521/0.3948, allocations: 291.1 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3949, allocations: 4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004047/0.3953, allocations: 60 kB / 1.029 GB, free: 14.92 MB / 0.8106 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0002069/0.3955, allocations: 133.7 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.397, allocations: 452.8 kB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.397, allocations: 0 / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008367/0.3978, allocations: 116.3 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3982, allocations: 30.61 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4, allocations: 0.7131 MB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4005, allocations: 0.7669 MB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.4005, allocations: 19.44 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of SimCode: time 2.084e-06/0.4005, allocations: 0 / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.007476/0.408, allocations: 3.69 MB / 1.035 GB, free: 8.883 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches