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.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.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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.644/2.644, allocations: 437 MB / 0.7104 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002259, allocations: 59.91 kB / 0.8692 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6283, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002599/0.6309, allocations: 1.509 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.6321, allocations: 0.5517 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.6322, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.951e-05/0.6323, allocations: 3.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.958e-05/0.6324, allocations: 27.8 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.6331, allocations: 324.5 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.6336, allocations: 0.4955 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.6336, allocations: 11.92 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.6339, allocations: 279.6 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.6342, allocations: 131.6 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.325e-05/0.6343, allocations: 28 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.6344, allocations: 24 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6345, allocations: 115.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.6347, allocations: 187 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.6351, allocations: 420.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6351, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6351, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.6351, allocations: 0 / 1.021 GB, free: 14.46 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.001111/0.6362, allocations: 0.8762 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.6362, allocations: 8.031 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6364, allocations: 48.47 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.6367, allocations: 310.2 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.6367, allocations: 20.36 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.6368, allocations: 36.3 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.6378, allocations: 206 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6378, allocations: 4.188 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.6379, allocations: 7.922 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6379, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.6387, allocations: 99.92 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.6391, allocations: 393.2 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.6401, allocations: 178.6 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/0.6409, allocations: 112.7 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.6409, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.6419, allocations: 225.3 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.125e-06/0.6419, allocations: 3.984 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00251/0.6444, allocations: 484.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6445, allocations: 59.41 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.6448, allocations: 417.8 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.6449, allocations: 37.7 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.6449, allocations: 97.44 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.645, allocations: 47.47 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6452, allocations: 125.3 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.6453, allocations: 326.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.6455, allocations: 123.9 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.6458, allocations: 165.9 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.6462, allocations: 281.2 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6462, allocations: 0 / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007617/0.6469, allocations: 497.8 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.647, allocations: 91.31 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.647, allocations: 3.938 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6471, allocations: 4 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.6472, allocations: 27.92 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6472, allocations: 0 / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.6477, allocations: 59.8 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.6478, allocations: 64 kB / 1.026 GB, free: 8.766 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 (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.0001908/0.648, allocations: 192 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.6481, allocations: 43.47 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.6481, allocations: 39.73 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6481, allocations: 3.938 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6482, allocations: 4 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6482, allocations: 0 / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.6503, allocations: 0.7411 MB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6503, allocations: 0 / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.6503, allocations: 7.984 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6504, allocations: 0 / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.6504, allocations: 23.98 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6504, allocations: 4 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6504, allocations: 3.984 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.6521, allocations: 476.4 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.6524, allocations: 196.5 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.6524, allocations: 11.98 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.6529, allocations: 31.97 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.653, allocations: 7.984 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.653, allocations: 63.97 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002525/0.6533, allocations: 295.1 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6533, allocations: 4 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003309/0.6536, allocations: 60 kB / 1.029 GB, free: 6.488 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 (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.0001217/0.6538, allocations: 115.8 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.655, allocations: 451.4 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6551, allocations: 4.062 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.6558, allocations: 117 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.6562, allocations: 31.38 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.6576, allocations: 0.5477 MB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.6579, allocations: 0.7786 MB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.6579, allocations: 17.08 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.658, allocations: 19.42 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.658, allocations: 3.938 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.007905/0.6659, allocations: 4.967 MB / 1.035 GB, free: 15.28 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