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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009687/0.0009686, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8521, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002702/0.8549, allocations: 1.224 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.8567, allocations: 0.5286 MB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.8568, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.857, allocations: 7.938 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.8572, allocations: 23.91 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.8583, allocations: 263.5 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.8589, allocations: 387.4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.859, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.8597, allocations: 319.4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.8602, allocations: 179.7 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.8603, allocations: 16 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.8604, allocations: 16 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.8606, allocations: 115.7 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.8607, allocations: 97.52 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.8612, allocations: 313.3 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8612, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8612, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8612, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 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.001506/0.8628, allocations: 0.7534 MB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.8628, allocations: 8.562 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.863, allocations: 51.53 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.8636, allocations: 293.4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.8637, allocations: 19.98 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.8638, allocations: 27.92 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.8651, allocations: 225.3 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.8651, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.8651, allocations: 11.98 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.8652, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.8662, allocations: 107.9 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.8669, allocations: 401.1 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.8683, allocations: 194 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.8694, allocations: 120.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.8694, allocations: 3.938 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.8707, allocations: 241.1 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 4.809e-06/0.8707, allocations: 3.984 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.003908/0.8746, allocations: 0.5008 MB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.8747, allocations: 59.41 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.8754, allocations: 405.9 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.8756, allocations: 37.7 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8757, allocations: 101.3 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.8758, allocations: 47.47 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.8759, allocations: 12 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.8761, allocations: 322.8 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.8766, allocations: 119.9 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.8771, allocations: 169.9 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.8777, allocations: 192.7 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8777, allocations: 3.938 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001545/0.8793, allocations: 498.5 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.8794, allocations: 87.38 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.8795, allocations: 0 / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.8795, allocations: 8.188 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.8798, allocations: 19.98 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.8798, allocations: 11.88 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.8807, allocations: 67.8 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.8809, allocations: 59.98 kB / 1.031 GB, free: 7.164 MB / 0.7794 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.8813, allocations: 196 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.8814, allocations: 39.52 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.8815, allocations: 39.75 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8815, allocations: 0 / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8815, allocations: 0 / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.8816, allocations: 7.953 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.8853, allocations: 0.7656 MB / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8853, allocations: 0 / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.8854, allocations: 7.938 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.8854, allocations: 0 / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.8855, allocations: 19.97 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.8855, allocations: 3.953 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8855, allocations: 0 / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.8887, allocations: 494.8 kB / 1.032 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/0.8891, allocations: 204.4 kB / 1.032 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8893, allocations: 19.94 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.8901, allocations: 31.97 kB / 1.032 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.8902, allocations: 19.94 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.8903, allocations: 55.97 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005545/0.8909, allocations: 291.1 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8909, allocations: 0 / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006931/0.8916, allocations: 71.98 kB / 1.033 GB, free: 4.824 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.8919, allocations: 119.7 kB / 1.033 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.8941, allocations: 453.2 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.8942, allocations: 0 / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.8955, allocations: 132.2 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.8962, allocations: 25.55 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.8987, allocations: 0.6483 MB / 1.034 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.8995, allocations: 0.7711 MB / 1.035 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000104/0.8996, allocations: 13.08 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.8997, allocations: 23.42 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of SimCode: time 8.21e-07/0.8997, allocations: 7.938 kB / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of Templates: time 0.01724/0.9169, allocations: 4.834 MB / 1.04 GB, free: 13.63 MB / 0.795 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