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.001285/0.001285, allocations: 103.9 kB / 15.78 MB, free: 5.93 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.001246/0.001246, allocations: 196.7 kB / 16.72 MB, free: 5.793 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.433/1.433, allocations: 225.6 MB / 243.1 MB, free: 3.715 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 489.4 MB / 0.7669 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.89 kB / 1.115 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 172 MB / 1.283 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002918/1.104, allocations: 1.52 MB / 1.284 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001381/1.105, allocations: 0.5448 MB / 1.285 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/1.105, allocations: 0 / 1.285 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/1.106, allocations: 15.95 kB / 1.285 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/1.106, allocations: 29.58 kB / 1.285 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/1.107, allocations: 308.4 kB / 1.285 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005875/1.107, allocations: 483.6 kB / 1.285 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/1.107, allocations: 4.984 kB / 1.285 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/1.108, allocations: 274 kB / 1.286 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/1.108, allocations: 158.5 kB / 1.286 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/1.108, allocations: 26.78 kB / 1.286 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/1.108, allocations: 26.28 kB / 1.286 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/1.108, allocations: 115.4 kB / 1.286 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/1.108, allocations: 181.7 kB / 1.286 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/1.109, allocations: 421.7 kB / 1.287 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/1.109, allocations: 4 kB / 1.287 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/1.109, allocations: 3.938 kB / 1.287 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.109, allocations: 0 / 1.287 GB, free: 3.156 MB / 0.9981 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.001516/1.111, allocations: 0.8776 MB / 1.288 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.111, allocations: 9.938 kB / 1.288 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.111, allocations: 50.75 kB / 1.288 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/1.111, allocations: 313.2 kB / 1.288 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/1.111, allocations: 21.58 kB / 1.288 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/1.111, allocations: 29.11 kB / 1.288 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.112, allocations: 212 kB / 1.288 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.112, allocations: 1.281 kB / 1.288 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/1.112, allocations: 5.531 kB / 1.288 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.112, allocations: 1.938 kB / 1.288 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/1.113, allocations: 100.9 kB / 1.288 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/1.114, allocations: 386.7 kB / 1.289 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.115, allocations: 169 kB / 1.289 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008034/1.116, allocations: 103.7 kB / 1.289 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/1.116, allocations: 10.48 kB / 1.289 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/1.117, allocations: 223.4 kB / 1.289 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/1.117, allocations: 0 / 1.289 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002851/1.12, allocations: 490.6 kB / 1.29 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/1.12, allocations: 61.56 kB / 1.29 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/1.12, allocations: 418.9 kB / 1.29 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/1.12, allocations: 41.22 kB / 1.29 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/1.12, allocations: 95.05 kB / 1.29 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/1.121, allocations: 40.73 kB / 1.29 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.121, allocations: 127 kB / 1.29 GB, free: 1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.121, allocations: 321.8 kB / 1.291 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/1.121, allocations: 115.5 kB / 1.291 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/1.122, allocations: 178.5 kB / 1.291 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/1.122, allocations: 280.7 kB / 1.291 GB, free: 356 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.122, allocations: 0 / 1.291 GB, free: 356 kB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009186/1.123, allocations: 492.3 kB / 1.292 GB, free: 140 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.123, allocations: 92.19 kB / 1.292 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.123, allocations: 1.906 kB / 1.292 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.123, allocations: 3.344 kB / 1.292 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.123, allocations: 26.84 kB / 1.292 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.123, allocations: 8.125 kB / 1.292 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/1.124, allocations: 58.2 kB / 1.292 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/1.124, allocations: 57.36 kB / 1.292 GB, free: 36 kB / 0.9981 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.0003135/1.124, allocations: 201.3 kB / 1.292 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/1.124, allocations: 40.64 kB / 1.292 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/1.124, allocations: 42.33 kB / 1.292 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.124, allocations: 1.312 kB / 1.292 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.124, allocations: 1.375 kB / 1.292 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.124, allocations: 1.219 kB / 1.292 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/1.127, allocations: 0.7504 MB / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.127, allocations: 0 / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/1.127, allocations: 6.25 kB / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.127, allocations: 0 / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/1.127, allocations: 22.64 kB / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.127, allocations: 1.219 kB / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.127, allocations: 0.5625 kB / 1.293 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/1.129, allocations: 481.1 kB / 1.293 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/1.129, allocations: 200.1 kB / 1.294 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/1.129, allocations: 14.94 kB / 1.294 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/1.13, allocations: 32.83 kB / 1.294 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/1.13, allocations: 7.5 kB / 1.294 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/1.13, allocations: 60.22 kB / 1.294 GB, free: 15.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004118/1.13, allocations: 293.4 kB / 1.294 GB, free: 14.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/1.13, allocations: 0.8438 kB / 1.294 GB, free: 14.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004714/1.131, allocations: 65.06 kB / 1.294 GB, free: 14.94 MB / 1.014 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.0001995/1.131, allocations: 125.8 kB / 1.294 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0014/1.132, allocations: 409.5 kB / 1.295 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.132, allocations: 0 / 1.295 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/1.133, allocations: 112.2 kB / 1.295 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/1.134, allocations: 41.69 kB / 1.295 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/1.135, allocations: 0.5532 MB / 1.295 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/1.136, allocations: 0.7751 MB / 1.296 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.37e-05/1.136, allocations: 15.58 kB / 1.296 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/1.136, allocations: 15.97 kB / 1.296 GB, free: 13.57 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.136, allocations: 1.219 kB / 1.296 GB, free: 13.57 MB / 1.014 GB Notification: Performance of Templates: time 0.01259/1.148, allocations: 4.943 MB / 1.301 GB, free: 12.65 MB / 1.014 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