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.001072/0.001072, 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.001161/0.001161, allocations: 188.3 kB / 16.13 MB, free: 6.645 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.576/2.576, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.14 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7301, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002514/0.7326, allocations: 0.8094 MB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002895/0.7329, allocations: 55.83 kB / 1.017 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.733, allocations: 4 kB / 1.017 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.7333, allocations: 11.86 kB / 1.017 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.7333, allocations: 11.98 kB / 1.017 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.7336, allocations: 30.5 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.7338, allocations: 115.6 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.7341, allocations: 156.5 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.7342, allocations: 51.8 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.7343, allocations: 71.64 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.7343, allocations: 8 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.034e-05/0.7343, allocations: 8 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.7344, allocations: 51.83 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.7345, allocations: 79.42 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.7348, allocations: 215.3 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7348, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7348, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7348, allocations: 0 / 1.018 GB, free: 1.117 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.0006599/0.7355, allocations: 493 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7355, allocations: 12.03 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.7356, allocations: 20.66 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.7359, allocations: 263.8 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.7359, allocations: 12.75 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.736, allocations: 20.38 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.7365, allocations: 341.1 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7365, allocations: 3.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.7365, allocations: 8 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.7365, allocations: 12 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.7369, allocations: 267.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.7381, allocations: 1.084 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.7382, allocations: 173.1 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.7382, allocations: 84.08 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7382, allocations: 75.28 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.7383, allocations: 109.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.7383, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.589e-05/0.7384, allocations: 57.53 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.7385, allocations: 126.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.739, allocations: 0.4887 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.739, allocations: 25.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.7391, allocations: 175.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.7391, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.7392, allocations: 29.72 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7393, allocations: 338.8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.7394, allocations: 51.95 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.7395, allocations: 89.91 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.7396, allocations: 109.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7396, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002836/0.7399, allocations: 193.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7399, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7399, allocations: 7.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.74, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7401, allocations: 19.98 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.7401, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.7402, allocations: 35.67 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.7402, allocations: 12 kB / 1.023 GB, free: 12.15 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.0001511/0.7404, allocations: 253.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.7404, allocations: 120.7 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.7405, allocations: 138.8 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/0.7406, allocations: 192.1 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-05/0.7406, allocations: 176.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-05/0.7407, allocations: 184.2 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.741, allocations: 489.1 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/0.741, allocations: 101 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.741, allocations: 108.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.824e-05/0.7411, allocations: 184.2 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.7412, allocations: 184.1 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.7412, allocations: 180.3 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.091e-05/0.7413, allocations: 184.2 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.7415, allocations: 327.4 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7416, allocations: 213.8 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.7417, allocations: 192.2 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7418, allocations: 109.2 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.7419, allocations: 180.2 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.7419, allocations: 109 kB / 1.026 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003367/0.7422, allocations: 363 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7422, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002737/0.7425, allocations: 24 kB / 1.027 GB, free: 7.996 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.0001584/0.7427, allocations: 182.5 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.7428, allocations: 67.89 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7428, allocations: 0 / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.7428, allocations: 0 / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.7435, allocations: 0.5451 MB / 1.027 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.7441, allocations: 0.5124 MB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.7444, allocations: 0.7713 MB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.44e-05/0.7445, allocations: 57.5 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.7445, allocations: 15.44 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7445, allocations: 0 / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of Templates: time 0.004215/0.7488, allocations: 1.673 MB / 1.03 GB, free: 4.117 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=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/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