Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsPlus,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.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_10_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.007871/0.00787, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001314/0.001314, allocations: 199 kB / 16.67 MB, free: 5.531 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.473/2.473, allocations: 437 MB / 0.7105 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.83 kB / 1.018 GB, free: 9.508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9983/0.9998, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002927/1.003, allocations: 1.525 MB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00135/1.004, allocations: 0.5422 MB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/1.004, allocations: 0 / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/1.004, allocations: 11.86 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/1.005, allocations: 35.62 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/1.006, allocations: 313.9 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006953/1.006, allocations: 0.5032 MB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/1.006, allocations: 4 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/1.007, allocations: 275.6 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/1.007, allocations: 144.7 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/1.008, allocations: 28 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/1.008, allocations: 28 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/1.008, allocations: 119.6 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/1.008, allocations: 179.1 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/1.009, allocations: 426.9 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.009, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.009, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.801e-05/1.009, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 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.001369/1.01, allocations: 0.8821 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.01, allocations: 8.922 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/1.01, allocations: 52.7 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/1.011, allocations: 318.5 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.011, allocations: 12.38 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/1.011, allocations: 28.36 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/1.012, allocations: 221.9 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.012, allocations: 192 / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/1.012, allocations: 3.938 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/1.012, allocations: 4 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/1.012, allocations: 95.91 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/1.013, allocations: 389.3 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.014, allocations: 178.5 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/1.015, allocations: 108.8 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.015, allocations: 4 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009513/1.016, allocations: 227.4 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/1.016, allocations: 4 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002569/1.018, allocations: 485 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.018, allocations: 63.38 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.019, allocations: 417.9 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/1.019, allocations: 41.69 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/1.019, allocations: 93.39 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/1.019, allocations: 39.75 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.019, allocations: 121.5 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.019, allocations: 326.8 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/1.02, allocations: 119.9 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.02, allocations: 173.9 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.02, allocations: 271.5 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.02, allocations: 0 / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008248/1.021, allocations: 496.6 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.452e-05/1.021, allocations: 95.3 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.021, allocations: 0 / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.021, allocations: 4 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.022, allocations: 27.86 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.022, allocations: 192 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/1.022, allocations: 67.8 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/1.022, allocations: 63.97 kB / 1.176 GB, free: 10.14 MB / 0.9044 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.0002287/1.022, allocations: 195.9 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/1.022, allocations: 39.7 kB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/1.023, allocations: 43.75 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.023, allocations: 0 / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.023, allocations: 3.984 kB / 1.176 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.023, allocations: 4 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/1.025, allocations: 0.7428 MB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.025, allocations: 0 / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/1.025, allocations: 8 kB / 1.177 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.025, allocations: 0 / 1.177 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/1.025, allocations: 23.97 kB / 1.177 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.025, allocations: 4 kB / 1.177 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.025, allocations: 0 / 1.177 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/1.027, allocations: 475.4 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/1.027, allocations: 204.7 kB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/1.027, allocations: 11.98 kB / 1.177 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/1.027, allocations: 31.95 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/1.027, allocations: 15.98 kB / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/1.027, allocations: 59.92 kB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002717/1.028, allocations: 291.1 kB / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.028, allocations: 4 kB / 1.178 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003621/1.028, allocations: 63.98 kB / 1.178 GB, free: 7.852 MB / 0.9044 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.0001507/1.028, allocations: 115.2 kB / 1.178 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.03, allocations: 453.4 kB / 1.178 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.03, allocations: 0 / 1.178 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007631/1.03, allocations: 115.9 kB / 1.179 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/1.031, allocations: 34.97 kB / 1.179 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.032, allocations: 0.5546 MB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/1.033, allocations: 0.7747 MB / 1.18 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.658e-05/1.033, allocations: 17.08 kB / 1.18 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/1.033, allocations: 15.44 kB / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.033, allocations: 0 / 1.18 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.009216/1.042, allocations: 4.934 MB / 1.185 GB, free: 0.6719 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches