Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01157/0.01157, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.002656/0.002656, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 75.86 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4124, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00292/0.4153, allocations: 1.519 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4167, allocations: 0.536 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.4167, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.4169, allocations: 7.922 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.417, allocations: 39.72 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.4179, allocations: 310.6 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.4184, allocations: 483.5 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.4185, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.4188, allocations: 279.6 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.4191, allocations: 143.6 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.06e-05/0.4192, allocations: 24 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.4192, allocations: 28 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4194, allocations: 111.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.4195, allocations: 183 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.42, allocations: 434.4 kB / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.42, allocations: 0 / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.42, allocations: 0 / 1.225 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.42, allocations: 0 / 1.225 GB, free: 9.762 MB / 0.9825 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.001275/0.4213, allocations: 0.8781 MB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4213, allocations: 8.031 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.4214, allocations: 56.7 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.4218, allocations: 310.6 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.4219, allocations: 16.36 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.4219, allocations: 32.38 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009742/0.4229, allocations: 217.9 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4229, allocations: 192 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.423, allocations: 3.938 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.423, allocations: 4 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.4237, allocations: 99.92 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.4241, allocations: 393.2 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4252, allocations: 170.4 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.4259, allocations: 104.8 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4259, allocations: 0 / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009491/0.4269, allocations: 229.8 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.4269, allocations: 0 / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002551/0.4294, allocations: 496.9 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4295, allocations: 59.39 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.4299, allocations: 409.9 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.4299, allocations: 41.69 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.43, allocations: 89.45 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.43, allocations: 39.73 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.4302, allocations: 125.5 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4303, allocations: 326.8 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4306, allocations: 119.9 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.4309, allocations: 178.9 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.4312, allocations: 278.9 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4312, allocations: 4 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007607/0.432, allocations: 492.8 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.4321, allocations: 99.28 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4321, allocations: 4 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4321, allocations: 0 / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4323, allocations: 23.92 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4323, allocations: 4 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.4328, allocations: 51.91 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.4329, allocations: 63.97 kB / 1.23 GB, free: 4.09 MB / 0.9825 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.0002146/0.4331, allocations: 204.4 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.4331, allocations: 39.7 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.4332, allocations: 43.73 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4332, allocations: 4 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4332, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4332, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4354, allocations: 0.7404 MB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.4354, allocations: 4 kB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.4354, allocations: 7.984 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4354, allocations: 0 / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.4354, allocations: 19.98 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4354, allocations: 7.938 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4354, allocations: 4 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.4372, allocations: 478.4 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.4374, allocations: 208.6 kB / 1.231 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.4375, allocations: 19.98 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.4379, allocations: 27.97 kB / 1.232 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.438, allocations: 7.984 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.4381, allocations: 55.98 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002721/0.4383, allocations: 295.1 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4383, allocations: 0 / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003459/0.4387, allocations: 63.98 kB / 1.232 GB, free: 1.793 MB / 0.9825 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.0001594/0.4388, allocations: 128.3 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.4401, allocations: 402.5 kB / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4401, allocations: 384 / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.4408, allocations: 119.8 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.4412, allocations: 31.31 kB / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.4427, allocations: 0.5625 MB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4431, allocations: 0.7708 MB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.4431, allocations: 9.078 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.4432, allocations: 15.44 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4432, allocations: 0 / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.008286/0.4514, allocations: 4.95 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches