Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009556/0.0009558, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001137/0.001137, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8209, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001745/0.8227, allocations: 1.235 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.8241, allocations: 0.5229 MB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.8242, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.908e-05/0.8243, allocations: 7.922 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.8244, allocations: 27.91 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.8252, allocations: 259.4 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.8256, allocations: 379.4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.8257, allocations: 8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.8263, allocations: 319.4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.8266, allocations: 179.7 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.8267, allocations: 16 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.8268, allocations: 12 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.8269, allocations: 123.7 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.827, allocations: 93.52 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.8274, allocations: 309.3 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8274, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8274, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.8274, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 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.00109/0.8285, allocations: 0.7534 MB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8286, allocations: 8.562 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.8288, allocations: 55.53 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.8291, allocations: 285.4 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.8292, allocations: 15.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.8293, allocations: 24 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.8302, allocations: 233.3 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8302, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.8302, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.8302, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.8309, allocations: 111.9 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.8313, allocations: 401.1 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.8323, allocations: 190.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.833, allocations: 120.8 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.833, allocations: 7.938 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009098/0.8339, allocations: 235.1 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.8339, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002285/0.8362, allocations: 0.5067 MB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.8363, allocations: 59.41 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.8367, allocations: 401.9 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.8368, allocations: 45.69 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.8369, allocations: 101.3 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.8369, allocations: 43.47 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.837, allocations: 15.94 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8371, allocations: 318.8 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.8374, allocations: 123.9 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.8377, allocations: 173.9 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.838, allocations: 188.9 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.838, allocations: 0 / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00082/0.8388, allocations: 498.1 kB / 1.03 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/0.8389, allocations: 89.09 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8389, allocations: 4 kB / 1.031 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8389, allocations: 4 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.8391, allocations: 15.98 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.8391, allocations: 11.89 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.8396, allocations: 71.8 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.8397, allocations: 67.97 kB / 1.031 GB, free: 7.176 MB / 0.7794 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.84, allocations: 188 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.84, allocations: 35.53 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.8401, allocations: 43.73 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.8401, allocations: 4 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.8401, allocations: 4 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8401, allocations: 3.953 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.8421, allocations: 0.7559 MB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8422, allocations: 0 / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8422, allocations: 11.92 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8422, allocations: 4 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.8423, allocations: 15.98 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.8423, allocations: 7.953 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8423, allocations: 3.984 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.8438, allocations: 488.5 kB / 1.032 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.8441, allocations: 204.5 kB / 1.032 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.8442, allocations: 11.98 kB / 1.032 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.8446, allocations: 39.97 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.8446, allocations: 11.94 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.8447, allocations: 59.97 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003158/0.8451, allocations: 295 kB / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8451, allocations: 0 / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003719/0.8454, allocations: 64 kB / 1.033 GB, free: 4.852 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.8456, allocations: 127.9 kB / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.8468, allocations: 454.8 kB / 1.033 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8468, allocations: 4.062 kB / 1.033 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.8475, allocations: 125.5 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.8478, allocations: 29.48 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.8492, allocations: 0.6522 MB / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8496, allocations: 0.7711 MB / 1.035 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.8497, allocations: 17.08 kB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.8497, allocations: 11.44 kB / 1.035 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.8497, allocations: 3.938 kB / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of Templates: time 0.01012/0.8599, allocations: 4.85 MB / 1.04 GB, free: 13.64 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches