Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008169/0.008169, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001361/0.001361, allocations: 193.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.464/1.464, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.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.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.092, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002829/1.095, allocations: 1.526 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001335/1.097, allocations: 0.55 MB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/1.097, allocations: 1.094 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/1.097, allocations: 9.625 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/1.097, allocations: 22.59 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/1.098, allocations: 311 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006788/1.099, allocations: 0.5012 MB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/1.099, allocations: 5.797 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/1.099, allocations: 277.8 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/1.1, allocations: 144.9 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/1.1, allocations: 27.06 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/1.1, allocations: 26.03 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/1.1, allocations: 110.9 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/1.1, allocations: 185.7 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007184/1.101, allocations: 427.5 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.101, allocations: 0 / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.636e-06/1.101, allocations: 0.6562 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.546e-05/1.101, allocations: 4 kB / 1.092 GB, free: 3.32 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.001481/1.103, allocations: 0.8607 MB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.103, allocations: 9.953 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/1.103, allocations: 47.38 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/1.103, allocations: 308.4 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/1.103, allocations: 21.97 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.103, allocations: 29.25 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/1.104, allocations: 216.7 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.104, allocations: 192 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.105, allocations: 6.531 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.105, allocations: 2.031 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/1.105, allocations: 100.1 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/1.106, allocations: 391 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.107, allocations: 183.8 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/1.108, allocations: 111.8 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/1.108, allocations: 2.594 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/1.109, allocations: 223.7 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/1.109, allocations: 7.938 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.003385/1.112, allocations: 489.5 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/1.112, allocations: 65.72 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/1.113, allocations: 407.1 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/1.113, allocations: 44.42 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/1.114, allocations: 90.17 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/1.114, allocations: 41.78 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/1.114, allocations: 127.7 kB / 1.096 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.114, allocations: 321 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/1.114, allocations: 120.5 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/1.115, allocations: 169.6 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/1.115, allocations: 283.5 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.115, allocations: 0.9688 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001163/1.116, allocations: 487.7 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.117, allocations: 93.14 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.117, allocations: 1.312 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.117, allocations: 8.016 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.117, allocations: 27.61 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.117, allocations: 2.891 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/1.118, allocations: 58.72 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.118, allocations: 57.42 kB / 1.097 GB, free: 224 kB / 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.0004681/1.118, allocations: 195.5 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/1.118, allocations: 40.67 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/1.118, allocations: 41.86 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.118, allocations: 2.969 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.118, allocations: 0 / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.118, allocations: 1.578 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.121, allocations: 0.7469 MB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.121, allocations: 1.719 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/1.121, allocations: 4.391 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.121, allocations: 1.219 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/1.121, allocations: 18.67 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.121, allocations: 1 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.121, allocations: 5.219 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.123, allocations: 482 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/1.123, allocations: 200.2 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/1.123, allocations: 15.58 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/1.124, allocations: 32.67 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/1.124, allocations: 11.95 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/1.124, allocations: 55.36 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003971/1.124, allocations: 299.2 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.125, allocations: 0 / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004666/1.125, allocations: 68.41 kB / 1.099 GB, free: 15.11 MB / 0.8731 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.0001683/1.125, allocations: 118.5 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001392/1.127, allocations: 438.1 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.127, allocations: 0.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000859/1.127, allocations: 130.5 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/1.128, allocations: 34.94 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/1.13, allocations: 0.5482 MB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.13, allocations: 0.7678 MB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.616e-05/1.13, allocations: 15.11 kB / 1.101 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/1.13, allocations: 16.28 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of SimCode: time 8.51e-07/1.13, allocations: 0 / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.01328/1.143, allocations: 5.041 MB / 1.106 GB, free: 12.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches