Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008117/0.008118, allocations: 103 kB / 15.73 MB, free: 5.492 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.001821/0.001821, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 1.054 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003514/1.013, allocations: 1.519 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00149/1.015, allocations: 0.544 MB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/1.015, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/1.015, allocations: 11.88 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/1.015, allocations: 27.84 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009717/1.016, allocations: 314.8 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/1.017, allocations: 0.4993 MB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/1.017, allocations: 12 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/1.018, allocations: 275.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/1.018, allocations: 139.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/1.018, allocations: 28 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/1.018, allocations: 24 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/1.018, allocations: 119.5 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/1.019, allocations: 183.1 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/1.019, allocations: 420.4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/1.019, allocations: 8 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.414e-06/1.019, allocations: 3.938 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.019, allocations: 0 / 1.212 GB, free: 9.57 MB / 0.9356 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.001317/1.02, allocations: 0.8586 MB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/1.02, allocations: 12.03 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/1.021, allocations: 48.47 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/1.021, allocations: 306.3 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/1.021, allocations: 20.36 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/1.021, allocations: 32.36 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/1.022, allocations: 209.9 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.022, allocations: 4.188 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/1.022, allocations: 7.938 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.022, allocations: 0 / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/1.023, allocations: 115.8 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/1.023, allocations: 385.2 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/1.024, allocations: 174.5 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/1.025, allocations: 116.8 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/1.025, allocations: 3.984 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008657/1.026, allocations: 229.9 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/1.026, allocations: 0 / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002268/1.028, allocations: 484.8 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.028, allocations: 63.39 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/1.028, allocations: 405.9 kB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/1.028, allocations: 41.69 kB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/1.029, allocations: 101.4 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/1.029, allocations: 39.45 kB / 1.215 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/1.029, allocations: 137.2 kB / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.029, allocations: 322.8 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/1.029, allocations: 115.9 kB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/1.03, allocations: 167.2 kB / 1.216 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/1.03, allocations: 279.3 kB / 1.216 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.03, allocations: 3.938 kB / 1.216 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008101/1.031, allocations: 482.6 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/1.031, allocations: 95.5 kB / 1.217 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/1.031, allocations: 4 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.031, allocations: 0 / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.031, allocations: 27.92 kB / 1.217 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.031, allocations: 4 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/1.032, allocations: 55.78 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/1.032, allocations: 59.98 kB / 1.217 GB, free: 3.914 MB / 0.9356 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.0002373/1.032, allocations: 199.9 kB / 1.217 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/1.032, allocations: 39.47 kB / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/1.032, allocations: 43.73 kB / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.032, allocations: 4 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.032, allocations: 0 / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.032, allocations: 0 / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/1.034, allocations: 0.7493 MB / 1.218 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.034, allocations: 0 / 1.218 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/1.034, allocations: 7.984 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.034, allocations: 0 / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.034, allocations: 15.98 kB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.034, allocations: 3.984 kB / 1.218 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.034, allocations: 4 kB / 1.218 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.036, allocations: 474.2 kB / 1.218 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.036, allocations: 200.5 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/1.036, allocations: 23.92 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/1.037, allocations: 31.97 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/1.037, allocations: 11.92 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/1.037, allocations: 55.97 kB / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003021/1.037, allocations: 295.1 kB / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/1.037, allocations: 0 / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003843/1.038, allocations: 64 kB / 1.219 GB, free: 1.625 MB / 0.9356 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.0001709/1.038, allocations: 119.2 kB / 1.219 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.039, allocations: 442.5 kB / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.039, allocations: 0 / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006995/1.04, allocations: 120.2 kB / 1.22 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/1.04, allocations: 29.48 kB / 1.22 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.042, allocations: 0.5496 MB / 1.22 GB, free: 328 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/1.042, allocations: 0.7747 MB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.534e-05/1.042, allocations: 13.08 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/1.042, allocations: 19.42 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/1.042, allocations: 0 / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.01063/1.053, allocations: 4.931 MB / 1.226 GB, free: 10.46 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches