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.0013/0.0013, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001329/0.001329, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.518/2.518, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 83.58 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002221/0.3552, allocations: 0.7431 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.3554, allocations: 51.83 kB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3555, allocations: 7.938 kB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.3557, allocations: 15.86 kB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.3557, allocations: 11.92 kB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.3559, allocations: 27.97 kB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3561, allocations: 127.6 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.3564, allocations: 152.5 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.3565, allocations: 67.78 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3566, allocations: 79.64 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.3567, allocations: 8 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.3567, allocations: 12 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.3568, allocations: 51.86 kB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3569, allocations: 87.41 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.3572, allocations: 223.3 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3572, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3572, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.3572, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 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.0007805/0.358, allocations: 0.4915 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3581, allocations: 8.922 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.3581, allocations: 24.66 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.3585, allocations: 268.7 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3585, allocations: 8.75 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.3586, allocations: 20.38 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.3591, allocations: 337.1 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3591, allocations: 3.938 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.3592, allocations: 8 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.3592, allocations: 23.92 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.3596, allocations: 259.8 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.3609, allocations: 1.076 MB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.361, allocations: 173.1 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3611, allocations: 84.14 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3611, allocations: 75.28 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.3612, allocations: 105.8 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3612, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.3613, allocations: 57.48 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.3614, allocations: 130.7 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.362, allocations: 0.4964 MB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.362, allocations: 25.7 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3622, allocations: 171.8 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.3622, allocations: 0 / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.3623, allocations: 29.7 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3624, allocations: 342.8 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.3625, allocations: 55.95 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3626, allocations: 85.98 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3628, allocations: 109.8 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3628, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003418/0.3632, allocations: 181.2 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3632, allocations: 12.22 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3632, allocations: 3.938 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3632, allocations: 4 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3633, allocations: 27.92 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.3634, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3635, allocations: 35.69 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3635, allocations: 11.92 kB / 1.024 GB, free: 3.984 MB / 0.795 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.0002104/0.3637, allocations: 245.1 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3638, allocations: 132.6 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.982e-05/0.3639, allocations: 134.8 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.273e-05/0.364, allocations: 180.2 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/0.3641, allocations: 189.7 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-05/0.3642, allocations: 184.3 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3646, allocations: 493 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.3647, allocations: 105 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.3647, allocations: 101 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.505e-05/0.3648, allocations: 184.2 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/0.3649, allocations: 184.2 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.093e-05/0.365, allocations: 180.2 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-05/0.3651, allocations: 184.4 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3653, allocations: 331.4 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3655, allocations: 210.1 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3656, allocations: 192.1 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3657, allocations: 109 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.3658, allocations: 184.3 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.3659, allocations: 104.9 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004161/0.3663, allocations: 363 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3663, allocations: 0 / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002755/0.3666, allocations: 24 kB / 1.028 GB, free: 15.83 MB / 0.8106 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.0001929/0.3668, allocations: 178.5 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3669, allocations: 71.89 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.367, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.367, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.3676, allocations: 490.6 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.3683, allocations: 0.4976 MB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3687, allocations: 0.771 MB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.3688, allocations: 19.44 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3688, allocations: 0 / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.004624/0.3734, allocations: 2.633 MB / 1.033 GB, free: 11.11 MB / 0.8106 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/jenkins1/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