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.001438/0.001437, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001436/0.001436, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.384/1.384, 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.458/2.458, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.77 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002246/0.3242, allocations: 0.7469 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002392/0.3245, allocations: 51.83 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.3246, allocations: 0 / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.3247, allocations: 19.86 kB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.3248, allocations: 11.92 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.325, allocations: 31.94 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.3252, allocations: 123.6 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.3255, allocations: 152.5 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.3256, allocations: 67.8 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3257, allocations: 75.62 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.3257, allocations: 16 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.3258, allocations: 12 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3259, allocations: 51.84 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.326, allocations: 87.42 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3263, allocations: 223.3 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3263, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3263, allocations: 0 / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3263, allocations: 0 / 1.02 GB, free: 8.98 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.0005868/0.3269, allocations: 495.3 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.327, allocations: 16.92 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.327, allocations: 24.66 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3273, allocations: 260.8 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3274, allocations: 12.75 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.3274, allocations: 24.25 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.3279, allocations: 333.2 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3279, allocations: 7.922 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3279, allocations: 8 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.328, allocations: 20 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.3283, allocations: 263.8 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3296, allocations: 1.08 MB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3298, allocations: 169.1 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.3298, allocations: 80.14 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.3299, allocations: 75.28 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.33, allocations: 113.7 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.33, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/0.3301, allocations: 61.53 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.3301, allocations: 130.7 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.3307, allocations: 0.4887 MB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3307, allocations: 25.7 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3309, allocations: 175.7 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.3309, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3309, allocations: 29.7 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3311, allocations: 334.8 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.3312, allocations: 51.95 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3313, allocations: 97.91 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3315, allocations: 105.9 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3315, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003293/0.3318, allocations: 181.2 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3319, allocations: 4 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3319, allocations: 12.16 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3319, allocations: 3.938 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.332, allocations: 19.98 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.332, allocations: 4 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3322, allocations: 35.67 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3322, allocations: 8 kB / 1.024 GB, free: 4.012 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.000177/0.3324, allocations: 247.5 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3325, allocations: 124.6 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.3326, allocations: 154.7 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/0.3327, allocations: 180.2 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001499/0.3328, allocations: 177.8 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/0.3329, allocations: 180.3 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3332, allocations: 497 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.437e-05/0.3333, allocations: 109 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.3333, allocations: 104.9 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.318e-05/0.3334, allocations: 180.2 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.3335, allocations: 180.2 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.6e-05/0.3335, allocations: 184.2 kB / 1.026 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.218e-05/0.3336, allocations: 176.3 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3338, allocations: 335.4 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.3339, allocations: 214.1 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3341, allocations: 184.2 kB / 1.027 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3342, allocations: 105 kB / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.3343, allocations: 196.2 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.3343, allocations: 109 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000408/0.3347, allocations: 359 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3348, allocations: 3.938 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000285/0.3351, allocations: 28 kB / 1.028 GB, free: 15.85 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.0001472/0.3353, allocations: 174.5 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3355, allocations: 67.95 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3355, allocations: 0 / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.3355, allocations: 3.938 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.3362, allocations: 482.7 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.3368, allocations: 0.5053 MB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3371, allocations: 0.7671 MB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.3372, allocations: 19.42 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3372, allocations: 0 / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.004912/0.3421, allocations: 2.625 MB / 1.033 GB, free: 11.14 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=480 -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