Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CalendarTimeMonthsPlus,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.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_9_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.001848/0.001848, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.002145/0.002146, allocations: 186.2 kB / 17.34 MB, free: 5.633 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 / 241 MB, free: 15.16 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 64.05 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002538/1.085, allocations: 1.515 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001268/1.086, allocations: 0.5554 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/1.086, allocations: 0 / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/1.087, allocations: 6.703 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/1.087, allocations: 22.14 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/1.088, allocations: 313.5 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000603/1.088, allocations: 0.4995 MB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/1.088, allocations: 6.391 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/1.089, allocations: 277.1 kB / 1.092 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/1.089, allocations: 143.6 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/1.089, allocations: 27.22 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/1.089, allocations: 30.38 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/1.089, allocations: 115.6 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/1.09, allocations: 185.2 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005191/1.09, allocations: 422.7 kB / 1.093 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.09, allocations: 0.8125 kB / 1.093 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/1.09, allocations: 0 / 1.093 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.09, allocations: 4 kB / 1.093 GB, free: 3.309 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.001228/1.091, allocations: 0.8618 MB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.091, allocations: 9.406 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/1.092, allocations: 47.34 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/1.092, allocations: 312.4 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/1.092, allocations: 17.62 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/1.092, allocations: 30.16 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.093, allocations: 215.2 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.093, allocations: 2.109 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/1.093, allocations: 5.469 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.093, allocations: 0.8438 kB / 1.094 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/1.094, allocations: 105.5 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/1.095, allocations: 390.2 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.096, allocations: 180.2 kB / 1.095 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/1.097, allocations: 112.2 kB / 1.095 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/1.097, allocations: 2.438 kB / 1.095 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/1.098, allocations: 223.5 kB / 1.095 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/1.098, allocations: 0 / 1.095 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002798/1.1, allocations: 493.8 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.1, allocations: 61.47 kB / 1.096 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/1.101, allocations: 411.6 kB / 1.096 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/1.101, allocations: 39.67 kB / 1.096 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/1.101, allocations: 91.14 kB / 1.096 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/1.101, allocations: 41.3 kB / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.101, allocations: 127.4 kB / 1.096 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/1.102, allocations: 321.7 kB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/1.102, allocations: 120.3 kB / 1.097 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/1.102, allocations: 176.9 kB / 1.097 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/1.102, allocations: 284.6 kB / 1.097 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.102, allocations: 0.625 kB / 1.097 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008869/1.103, allocations: 490.8 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/1.103, allocations: 87.8 kB / 1.098 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.103, allocations: 7.312 kB / 1.098 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.104, allocations: 2.25 kB / 1.098 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/1.104, allocations: 27 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.104, allocations: 3.891 kB / 1.098 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/1.104, allocations: 62.84 kB / 1.098 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/1.104, allocations: 57.95 kB / 1.098 GB, free: 212 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.000228/1.105, allocations: 194.1 kB / 1.098 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/1.105, allocations: 45.97 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/1.105, allocations: 36.78 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.105, allocations: 2.891 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.105, allocations: 1.094 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.105, allocations: 1.125 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/1.107, allocations: 0.7468 MB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.107, allocations: 1.656 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/1.107, allocations: 4.625 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.107, allocations: 1.828 kB / 1.099 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/1.107, allocations: 21.05 kB / 1.099 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.107, allocations: 1.797 kB / 1.099 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.107, allocations: 4.625 kB / 1.099 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.109, allocations: 482.5 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.11, allocations: 196.7 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/1.11, allocations: 18.88 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/1.11, allocations: 31.62 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/1.11, allocations: 9.25 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/1.11, allocations: 59.17 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003863/1.111, allocations: 294.3 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.111, allocations: 0 / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004203/1.111, allocations: 65.86 kB / 1.1 GB, free: 15.1 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.0001832/1.111, allocations: 121 kB / 1.1 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001501/1.113, allocations: 434.1 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.113, allocations: 0.5312 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/1.114, allocations: 130.3 kB / 1.101 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/1.114, allocations: 28.94 kB / 1.101 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/1.116, allocations: 0.5847 MB / 1.101 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/1.116, allocations: 0.7715 MB / 1.102 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/1.117, allocations: 16.03 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/1.117, allocations: 5.188 kB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.007579/1.124, allocations: 3.674 MB / 1.106 GB, free: 13.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time