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.00178/0.00178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001921/0.001921, allocations: 190 kB / 16.25 MB, free: 6.633 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.745/2.745, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003545/0.003545, allocations: 67.89 kB / 0.8688 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7293, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002295/0.7316, allocations: 0.8115 MB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.7319, allocations: 51.83 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.732, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.7322, allocations: 19.86 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.7322, allocations: 11.92 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.7324, allocations: 27.97 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.7327, allocations: 115.7 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.733, allocations: 160.5 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.7331, allocations: 67.8 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.7332, allocations: 71.64 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.7332, allocations: 12 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.7333, allocations: 12 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.7334, allocations: 55.83 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.7335, allocations: 91.42 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.7338, allocations: 219.3 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7338, allocations: 3.938 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.037e-06/0.7338, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7338, allocations: 7.938 kB / 1.019 GB, free: 1.129 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.0006888/0.7345, allocations: 0.4894 MB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7345, allocations: 8.031 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.7346, allocations: 24.66 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.7349, allocations: 251.9 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.735, allocations: 16.75 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.735, allocations: 16.38 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.7356, allocations: 341.1 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.7356, allocations: 7.875 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.7356, allocations: 8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.7357, allocations: 16 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.736, allocations: 259.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.7374, allocations: 1.088 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7375, allocations: 169.1 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.7376, allocations: 80.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.7376, allocations: 75.28 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.7377, allocations: 109.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.7377, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001143/0.7378, allocations: 57.53 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.7379, allocations: 126.7 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.7385, allocations: 0.4964 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.7385, allocations: 25.7 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.7387, allocations: 167.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.7387, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.7388, allocations: 33.61 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7389, allocations: 338.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.739, allocations: 51.95 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.7391, allocations: 89.97 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.7393, allocations: 109.9 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7393, allocations: 7.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003106/0.7396, allocations: 181.3 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7397, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7397, allocations: 7.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7397, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.7398, allocations: 19.98 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.7398, allocations: 8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7399, allocations: 39.61 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.74, allocations: 8 kB / 1.023 GB, free: 12.16 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.0002059/0.7402, allocations: 249.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.7403, allocations: 124.7 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.7404, allocations: 150.6 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.112e-05/0.7405, allocations: 180.2 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.061e-05/0.7406, allocations: 176.3 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.68e-05/0.7407, allocations: 184.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.7411, allocations: 497.1 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-05/0.7411, allocations: 104.9 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.7412, allocations: 101 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.391e-05/0.7413, allocations: 184.2 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/0.7414, allocations: 184.2 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.641e-05/0.7415, allocations: 180.3 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-05/0.7416, allocations: 180.2 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.7418, allocations: 327.5 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.742, allocations: 213.8 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.7421, allocations: 188.2 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.7422, allocations: 113.2 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.7423, allocations: 180.3 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.7424, allocations: 109 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004374/0.7428, allocations: 367 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7428, allocations: 0 / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002879/0.7431, allocations: 28 kB / 1.027 GB, free: 8.004 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.0002096/0.7433, allocations: 178.5 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.7435, allocations: 63.89 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7435, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.7435, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.7442, allocations: 485.2 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.7449, allocations: 0.5033 MB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.7454, allocations: 0.771 MB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.7455, allocations: 53.52 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.7456, allocations: 19.38 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7456, allocations: 0 / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.005155/0.7507, allocations: 1.73 MB / 1.031 GB, free: 4.156 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