Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.CalendarTimeMonthsPlus,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.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_latest_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.01107/0.01107, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.002229/0.002229, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.411/1.411, 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 12.0.0-master/package.mo): time 2.707/2.707, allocations: 472.6 MB / 0.7453 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8424, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003392/0.8459, allocations: 1.512 MB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.8472, allocations: 0.5539 MB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.8473, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.8474, allocations: 7.875 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.8476, allocations: 27.8 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.8483, allocations: 318.4 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.8488, allocations: 0.4955 MB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.8489, allocations: 4 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.8492, allocations: 279.6 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.8495, allocations: 137.1 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.8496, allocations: 28 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.8497, allocations: 28 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.8498, allocations: 119.7 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.85, allocations: 187 kB / 1.229 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.8504, allocations: 426.9 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8504, allocations: 0 / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8504, allocations: 3.938 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.8504, allocations: 0 / 1.23 GB, free: 9.469 MB / 0.9512 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.00117/0.8516, allocations: 0.8742 MB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8517, allocations: 8.031 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.8518, allocations: 52.7 kB / 1.231 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.8521, allocations: 318.6 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.8522, allocations: 16.36 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.8522, allocations: 24.38 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.8532, allocations: 213.9 kB / 1.231 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8532, allocations: 192 / 1.231 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.8532, allocations: 7.938 kB / 1.231 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8532, allocations: 8 kB / 1.231 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.854, allocations: 99.92 kB / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.8544, allocations: 397.2 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.8554, allocations: 178.5 kB / 1.232 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007246/0.8561, allocations: 108.8 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.8562, allocations: 0 / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000913/0.8571, allocations: 235 kB / 1.232 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.8571, allocations: 4 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.8596, allocations: 487.4 kB / 1.233 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.8596, allocations: 59.39 kB / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.86, allocations: 413.9 kB / 1.233 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.8601, allocations: 41.69 kB / 1.233 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.8602, allocations: 93.44 kB / 1.233 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.8602, allocations: 43.75 kB / 1.233 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.8604, allocations: 121.5 kB / 1.233 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8605, allocations: 326.8 kB / 1.234 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.8608, allocations: 115.9 kB / 1.234 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.8611, allocations: 173.9 kB / 1.234 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.8614, allocations: 273.3 kB / 1.234 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8614, allocations: 0 / 1.234 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007562/0.8622, allocations: 0.4901 MB / 1.235 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.8623, allocations: 91.31 kB / 1.235 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8623, allocations: 0 / 1.235 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8623, allocations: 7.938 kB / 1.235 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8625, allocations: 23.92 kB / 1.235 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8625, allocations: 0 / 1.235 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.863, allocations: 64.03 kB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/0.8631, allocations: 63.97 kB / 1.235 GB, free: 3.773 MB / 0.9512 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.0002056/0.8633, allocations: 193.4 kB / 1.235 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.8633, allocations: 39.7 kB / 1.235 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.8634, allocations: 43.73 kB / 1.235 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8634, allocations: 3.938 kB / 1.235 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8634, allocations: 0 / 1.235 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8634, allocations: 4 kB / 1.235 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.8655, allocations: 0.7366 MB / 1.236 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8655, allocations: 3.938 kB / 1.236 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.8655, allocations: 7.984 kB / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8655, allocations: 4 kB / 1.236 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.8656, allocations: 19.98 kB / 1.236 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8656, allocations: 4 kB / 1.236 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8656, allocations: 0 / 1.236 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.8673, allocations: 478.2 kB / 1.236 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.8675, allocations: 204.7 kB / 1.236 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.8676, allocations: 15.92 kB / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.868, allocations: 31.97 kB / 1.237 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.8681, allocations: 11.98 kB / 1.237 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.8681, allocations: 59.97 kB / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000264/0.8684, allocations: 295.1 kB / 1.237 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8684, allocations: 7.938 kB / 1.237 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003279/0.8687, allocations: 60 kB / 1.237 GB, free: 1.488 MB / 0.9512 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.0001421/0.8689, allocations: 123.7 kB / 1.237 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8701, allocations: 446.7 kB / 1.237 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8701, allocations: 4 kB / 1.237 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000737/0.8708, allocations: 111.9 kB / 1.238 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.8712, allocations: 34.3 kB / 1.238 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.8726, allocations: 0.5588 MB / 1.238 GB, free: 172 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8729, allocations: 0.7863 MB / 1.239 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.873, allocations: 13.08 kB / 1.239 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.873, allocations: 19.42 kB / 1.239 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.873, allocations: 0 / 1.239 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.008249/0.8813, allocations: 4.93 MB / 1.244 GB, free: 10.29 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches