Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005783/0.005783, allocations: 98 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.001202/0.001202, allocations: 193 kB / 16.67 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.612/2.612, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9521, allocations: 159.1 MB / 1.221 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002649/0.9548, allocations: 1.519 MB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.956, allocations: 0.5461 MB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.9561, allocations: 0 / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.9562, allocations: 7.922 kB / 1.223 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.9563, allocations: 27.86 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.9571, allocations: 314.6 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.9576, allocations: 487.4 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.9577, allocations: 4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.958, allocations: 275.6 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.9583, allocations: 147.4 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.017e-05/0.9584, allocations: 28 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.9584, allocations: 31.94 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.9586, allocations: 111.7 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.9587, allocations: 187 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.9592, allocations: 423.4 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9592, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9592, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.9592, allocations: 0 / 1.225 GB, free: 14.18 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.001262/0.9604, allocations: 0.8743 MB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.9605, allocations: 16.03 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.9606, allocations: 56.69 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.961, allocations: 314.5 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.9611, allocations: 20.36 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.9611, allocations: 28.36 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.9621, allocations: 206 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9621, allocations: 192 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.9622, allocations: 15.92 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9622, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.9629, allocations: 95.92 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.9633, allocations: 389.3 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.9644, allocations: 166.4 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.9652, allocations: 108.8 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.9652, allocations: 0 / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.9662, allocations: 225.8 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.9662, allocations: 0 / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002603/0.9688, allocations: 493 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.9689, allocations: 67.33 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.9693, allocations: 413.9 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.9693, allocations: 37.7 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.9694, allocations: 97.44 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.9694, allocations: 39.69 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.9696, allocations: 129.5 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9697, allocations: 322.8 kB / 1.228 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.97, allocations: 123.9 kB / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.9702, allocations: 170.4 kB / 1.229 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.9706, allocations: 283.4 kB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9706, allocations: 0 / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007599/0.9714, allocations: 488.7 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/0.9714, allocations: 95.31 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9714, allocations: 0 / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9715, allocations: 4 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.9716, allocations: 23.91 kB / 1.23 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.9716, allocations: 4 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.9721, allocations: 71.95 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.9722, allocations: 55.98 kB / 1.23 GB, free: 8.504 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.0002193/0.9724, allocations: 193.6 kB / 1.23 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.9725, allocations: 47.67 kB / 1.23 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.9726, allocations: 39.75 kB / 1.23 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9726, allocations: 0 / 1.23 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9726, allocations: 4 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9726, allocations: 0 / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.9748, allocations: 0.751 MB / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9748, allocations: 0 / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.9749, allocations: 8 kB / 1.231 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9749, allocations: 0 / 1.231 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.9749, allocations: 23.97 kB / 1.231 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9749, allocations: 0 / 1.231 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9749, allocations: 4 kB / 1.231 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.9767, allocations: 483.4 kB / 1.231 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.9769, allocations: 200.7 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.977, allocations: 12 kB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.9775, allocations: 27.97 kB / 1.231 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.9775, allocations: 7.984 kB / 1.231 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.9776, allocations: 59.97 kB / 1.232 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002634/0.9779, allocations: 299.1 kB / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9779, allocations: 0 / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003408/0.9782, allocations: 67.98 kB / 1.232 GB, free: 6.211 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.0001605/0.9784, allocations: 126 kB / 1.232 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.9796, allocations: 406.4 kB / 1.232 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.9796, allocations: 3.938 kB / 1.232 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.9804, allocations: 111.9 kB / 1.233 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.9808, allocations: 39.84 kB / 1.233 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.9823, allocations: 0.5544 MB / 1.233 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.9826, allocations: 0.7708 MB / 1.234 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.9827, allocations: 13.08 kB / 1.234 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.9827, allocations: 11.44 kB / 1.234 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.9827, allocations: 4 kB / 1.234 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of Templates: time 0.008832/0.9915, allocations: 4.937 MB / 1.239 GB, free: 15.06 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches