Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006953/0.006953, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001479/0.001479, allocations: 190 kB / 16.67 MB, free: 5.48 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.434/1.434, 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 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 1.018 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9688/0.9702, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002727/0.973, allocations: 1.519 MB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.9743, allocations: 0.5405 MB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.9744, allocations: 0 / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.9745, allocations: 11.86 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.9746, allocations: 35.62 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.9755, allocations: 318.6 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.976, allocations: 0.5033 MB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.9761, allocations: 11.98 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.9765, allocations: 267.6 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.9768, allocations: 151.7 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.9769, allocations: 28 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.977, allocations: 24 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.9771, allocations: 119.6 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.9773, allocations: 183 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.9778, allocations: 423.1 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9778, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9778, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9779, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 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.001298/0.9792, allocations: 0.8859 MB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9792, allocations: 16.86 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.9793, allocations: 48.7 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.9798, allocations: 318.5 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.9799, allocations: 20.36 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.9799, allocations: 20.38 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.9808, allocations: 217.9 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.9808, allocations: 192 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.9809, allocations: 11.94 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9809, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.9816, allocations: 95.92 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.9821, allocations: 385.3 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009614/0.9831, allocations: 178.5 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.9838, allocations: 108.8 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.9838, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008922/0.9847, allocations: 229.5 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.9847, allocations: 0 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002377/0.9871, allocations: 489 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.9872, allocations: 63.38 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.9877, allocations: 413.9 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.9877, allocations: 45.69 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.9878, allocations: 93.45 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.9879, allocations: 35.69 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.9881, allocations: 129.5 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9883, allocations: 322.8 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.9885, allocations: 119.9 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.9888, allocations: 177.9 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.9892, allocations: 271 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9892, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007757/0.99, allocations: 490.7 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.9901, allocations: 95.3 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9901, allocations: 4 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9902, allocations: 0 / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.9903, allocations: 23.92 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9904, allocations: 4 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.9908, allocations: 63.98 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.9909, allocations: 63.95 kB / 1.176 GB, free: 10.05 MB / 0.9044 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.0002492/0.9912, allocations: 200 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.9912, allocations: 39.7 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.9913, allocations: 39.75 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9913, allocations: 11.92 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9913, allocations: 0 / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9913, allocations: 0 / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.9935, allocations: 0.7546 MB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9935, allocations: 0 / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.9935, allocations: 4 kB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.9935, allocations: 3.984 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.9936, allocations: 19.98 kB / 1.177 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9936, allocations: 4 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.9936, allocations: 0 / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.9953, allocations: 479.4 kB / 1.177 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.9956, allocations: 196.7 kB / 1.177 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.9957, allocations: 19.98 kB / 1.178 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.9961, allocations: 27.97 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.9962, allocations: 15.92 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.9963, allocations: 55.98 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002868/0.9966, allocations: 295.1 kB / 1.178 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9966, allocations: 0 / 1.178 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003646/0.9969, allocations: 63.98 kB / 1.178 GB, free: 7.75 MB / 0.9044 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.0001733/0.9971, allocations: 116.2 kB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.9983, allocations: 453 kB / 1.178 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9984, allocations: 0 / 1.178 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.9991, allocations: 115.9 kB / 1.179 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.9995, allocations: 29.86 kB / 1.179 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.001, allocations: 0.5585 MB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.001, allocations: 0.7669 MB / 1.18 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.508e-05/1.001, allocations: 17.08 kB / 1.18 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/1.001, allocations: 15.44 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/1.001, allocations: 3.938 kB / 1.18 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.008698/1.01, allocations: 4.938 MB / 1.185 GB, free: 0.5703 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches