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.00143/0.001441, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01005/0.01005, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.679/1.679, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.917/2.917, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004049, allocations: 15.98 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.751, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001168/0.7523, allocations: 477.9 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.7525, allocations: 51.83 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.7526, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.7528, allocations: 23.86 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.7528, allocations: 7.984 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.753, allocations: 23.97 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.7532, allocations: 111.6 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.7535, allocations: 157.2 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.7536, allocations: 35.78 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.7537, allocations: 43.67 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.7537, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.7537, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.7538, allocations: 35.86 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.7539, allocations: 97.12 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.7542, allocations: 215.2 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7542, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7542, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7542, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 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.0005955/0.7548, allocations: 453.3 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7548, allocations: 8.031 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.7549, allocations: 24.66 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.7552, allocations: 259.9 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7553, allocations: 12.75 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.7553, allocations: 20.38 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.7558, allocations: 329.2 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7559, allocations: 7.875 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.7559, allocations: 11.98 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.7559, allocations: 11.98 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.7563, allocations: 271.8 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.7577, allocations: 1.088 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.7578, allocations: 169.1 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.7579, allocations: 84.14 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.7579, allocations: 79.22 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.758, allocations: 105.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.758, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.7581, allocations: 49.55 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.7582, allocations: 126.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.7588, allocations: 0.4965 MB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.7589, allocations: 29.7 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.759, allocations: 167.8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.759, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.7591, allocations: 13.72 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7592, allocations: 338.8 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.7593, allocations: 47.95 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.7594, allocations: 101.9 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.7596, allocations: 105.9 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7596, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003171/0.7599, allocations: 181.1 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.76, allocations: 8 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.76, allocations: 3.938 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.76, allocations: 4 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.7601, allocations: 20.2 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.7601, allocations: 4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7602, allocations: 47.56 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.7603, allocations: 4 kB / 1.029 GB, free: 9.793 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.0002031/0.7605, allocations: 253 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.7606, allocations: 124.7 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.7607, allocations: 138.8 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.575e-05/0.7608, allocations: 192.1 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-05/0.7609, allocations: 184.2 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/0.7609, allocations: 180.2 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.7614, allocations: 493.1 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-05/0.7614, allocations: 101 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.7615, allocations: 104.9 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.7616, allocations: 184.3 kB / 1.031 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/0.7617, allocations: 188.1 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.768e-05/0.7618, allocations: 176.3 kB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.53e-05/0.7618, allocations: 180.2 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.7621, allocations: 327.5 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.7622, allocations: 229.7 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7624, allocations: 184.5 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7625, allocations: 113 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.7626, allocations: 180.2 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.7626, allocations: 109 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004176/0.7631, allocations: 367 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7631, allocations: 0 / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002684/0.7633, allocations: 24 kB / 1.033 GB, free: 5.621 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.0002113/0.7636, allocations: 175.1 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.7637, allocations: 67.83 kB / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7637, allocations: 448 / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.7637, allocations: 4 kB / 1.033 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.7644, allocations: 0.543 MB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.7651, allocations: 0.5009 MB / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.7655, allocations: 0.7791 MB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.231e-05/0.7656, allocations: 45.53 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.7657, allocations: 19.38 kB / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7657, allocations: 0 / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of Templates: time 0.005163/0.7709, allocations: 1.634 MB / 1.036 GB, free: 1.793 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