Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002512/0.002512, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.633/1.633, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.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.979/2.979, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7759/0.7779, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002197/0.7801, allocations: 0.8055 MB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.7804, allocations: 51.83 kB / 1.017 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.7804, allocations: 4 kB / 1.017 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.7806, allocations: 15.86 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.7807, allocations: 11.97 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.7808, allocations: 23.98 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.781, allocations: 123.6 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.7813, allocations: 152.5 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.737e-05/0.7814, allocations: 55.8 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.7815, allocations: 67.64 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.7815, allocations: 8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.7815, allocations: 11.94 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.7816, allocations: 51.84 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.7817, allocations: 75.42 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.782, allocations: 219.3 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.782, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.782, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.782, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006356/0.7826, allocations: 0.4932 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7827, allocations: 12.03 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.7827, allocations: 24.66 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.783, allocations: 255.8 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.783, allocations: 12.75 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.7831, allocations: 16.38 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.7836, allocations: 333.2 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7836, allocations: 3.938 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.7836, allocations: 19.94 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.7837, allocations: 15.98 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.7841, allocations: 263.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7853, allocations: 1.08 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.7855, allocations: 169.1 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.7855, allocations: 80.14 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.7856, allocations: 83.2 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.7856, allocations: 109.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7856, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.7857, allocations: 53.55 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.7858, allocations: 134.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.7864, allocations: 0.4887 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7865, allocations: 25.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7866, allocations: 175.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.7866, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.7867, allocations: 29.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7868, allocations: 334.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.7869, allocations: 55.95 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.787, allocations: 97.89 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.7872, allocations: 109.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7872, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003014/0.7875, allocations: 185.1 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7875, allocations: 4.219 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.7875, allocations: 11.94 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7875, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7877, allocations: 19.98 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7877, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.7878, allocations: 39.61 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.7878, allocations: 8 kB / 1.023 GB, free: 12.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001862/0.788, allocations: 249 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/0.7881, allocations: 120.7 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-05/0.7882, allocations: 146.8 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.462e-05/0.7883, allocations: 184.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-05/0.7884, allocations: 176.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.067e-05/0.7884, allocations: 184.1 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.7888, allocations: 493.1 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.7888, allocations: 109 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.7889, allocations: 104.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.789, allocations: 176.3 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.7891, allocations: 192.1 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.432e-05/0.7891, allocations: 180.3 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.098e-05/0.7892, allocations: 176.3 kB / 1.025 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.7894, allocations: 331.4 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.7895, allocations: 217.8 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/0.7897, allocations: 188.2 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.7898, allocations: 105.3 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.7899, allocations: 188.2 kB / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.7899, allocations: 109 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003911/0.7903, allocations: 363 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7903, allocations: 0 / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002647/0.7906, allocations: 24 kB / 1.027 GB, free: 7.969 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001726/0.7908, allocations: 176.9 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.7909, allocations: 71.83 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7909, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.7909, allocations: 0 / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.7916, allocations: 0.543 MB / 1.027 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.7923, allocations: 0.509 MB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.7928, allocations: 0.7752 MB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.793, allocations: 49.52 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.793, allocations: 15.44 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.793, allocations: 4 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of Templates: time 0.005478/0.7985, allocations: 1.67 MB / 1.03 GB, free: 4.098 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches