Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00738/0.00738, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001151/0.001151, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 62.34 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3504, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003214/0.3537, allocations: 1.521 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3553, allocations: 0.5437 MB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.3554, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.3555, allocations: 11.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.3557, allocations: 23.86 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.3567, allocations: 315.3 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.3573, allocations: 0.5072 MB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.3574, allocations: 7.984 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.3578, allocations: 271.6 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.358, allocations: 147.6 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3581, allocations: 32 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.3582, allocations: 24 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3584, allocations: 115.6 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.3586, allocations: 187 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3591, allocations: 430.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3591, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3591, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3591, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 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.001314/0.3604, allocations: 0.8548 MB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3605, allocations: 19.91 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3606, allocations: 52.55 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.361, allocations: 302.3 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.361, allocations: 20.36 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.3611, allocations: 24.36 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.3621, allocations: 221.9 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3621, allocations: 192 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.3621, allocations: 15.92 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3621, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.3629, allocations: 95.92 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3633, allocations: 389.3 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.3643, allocations: 174.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.365, allocations: 112.8 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3651, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009116/0.366, allocations: 231 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.366, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.00305/0.3691, allocations: 484.9 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.3691, allocations: 59.34 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.3697, allocations: 413.9 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.3698, allocations: 37.7 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3699, allocations: 101.4 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.37, allocations: 31.59 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.3703, allocations: 133.2 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3704, allocations: 322.8 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3708, allocations: 115.9 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.3712, allocations: 174.9 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.3717, allocations: 274.8 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3718, allocations: 7.938 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001198/0.373, allocations: 492.5 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3732, allocations: 95.31 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3732, allocations: 0 / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.3732, allocations: 4 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.3734, allocations: 23.91 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3735, allocations: 4 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.3741, allocations: 63.98 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.3742, allocations: 55.98 kB / 1.097 GB, free: 7.727 MB / 0.8575 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.0003798/0.3746, allocations: 192 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.3747, allocations: 43.45 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.3748, allocations: 39.75 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3749, allocations: 4 kB / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.3749, allocations: 0 / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3749, allocations: 0 / 1.097 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.3778, allocations: 0.752 MB / 1.098 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3778, allocations: 4 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.3779, allocations: 4 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3779, allocations: 3.984 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.378, allocations: 27.97 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.378, allocations: 0 / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.378, allocations: 0 / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.3802, allocations: 481.4 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.3806, allocations: 196.5 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.3807, allocations: 12 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.3813, allocations: 31.95 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3813, allocations: 7.938 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.3815, allocations: 67.91 kB / 1.099 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004731/0.3819, allocations: 295.1 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.382, allocations: 0 / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005472/0.3825, allocations: 67.98 kB / 1.099 GB, free: 5.418 MB / 0.8575 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.0002593/0.3828, allocations: 124.8 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.3846, allocations: 438.5 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3846, allocations: 0 / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/0.3856, allocations: 111.9 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.3863, allocations: 40.81 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3884, allocations: 0.5444 MB / 1.1 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.389, allocations: 0.7669 MB / 1.101 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.3892, allocations: 13.08 kB / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.3893, allocations: 23.44 kB / 1.101 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.3893, allocations: 0 / 1.101 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of Templates: time 0.01416/0.4034, allocations: 5.037 MB / 1.106 GB, free: 14.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches