Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001758, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00159/0.001591, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.566/1.566, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.828/2.828, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.685, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.003063/0.6881, allocations: 0.7978 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.6886, allocations: 63.81 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.6887, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.689, allocations: 7.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.6891, allocations: 11.92 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.6893, allocations: 27.95 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.6896, allocations: 119.7 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.69, allocations: 157.2 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.6901, allocations: 71.77 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.6903, allocations: 75.64 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.6903, allocations: 16 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.139e-05/0.6904, allocations: 8 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.6905, allocations: 51.86 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.6906, allocations: 87.42 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.6909, allocations: 223.3 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6909, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.968e-06/0.6909, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.691, allocations: 0 / 1.019 GB, free: 0.9648 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008233/0.6918, allocations: 0.4892 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.6919, allocations: 16.03 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.6919, allocations: 24.66 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.6924, allocations: 259.8 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.6924, allocations: 16.69 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.6925, allocations: 16.38 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.6932, allocations: 349.1 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6932, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.6933, allocations: 8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.6933, allocations: 16 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.6937, allocations: 269.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.6951, allocations: 1.084 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6952, allocations: 169.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.6953, allocations: 80.14 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.6953, allocations: 75.28 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.6954, allocations: 106 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6954, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.934e-05/0.6955, allocations: 57.3 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.6956, allocations: 130.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.6962, allocations: 0.5042 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.6962, allocations: 25.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.6963, allocations: 167.8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.6964, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.6964, allocations: 29.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6966, allocations: 342.8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.6967, allocations: 55.95 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.6968, allocations: 98.81 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.697, allocations: 126.7 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.697, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003106/0.6973, allocations: 193.3 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6973, allocations: 15.94 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6973, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6973, allocations: 7.938 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.6974, allocations: 19.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6975, allocations: 4.156 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.701e-05/0.6976, allocations: 27.69 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6976, allocations: 15.98 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001816/0.6978, allocations: 252.9 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.6979, allocations: 136.6 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.698, allocations: 134.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.333e-05/0.6981, allocations: 176.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-05/0.6981, allocations: 180.2 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/0.6982, allocations: 184.2 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.6986, allocations: 497.1 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/0.6986, allocations: 108.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.6987, allocations: 101 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.665e-05/0.6988, allocations: 188.1 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.6989, allocations: 180.2 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.916e-05/0.699, allocations: 180.3 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-05/0.699, allocations: 188.2 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.6992, allocations: 323.5 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.6994, allocations: 217.8 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6995, allocations: 184.2 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.6996, allocations: 113.2 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.6997, allocations: 184.2 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.6998, allocations: 109 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000395/0.7002, allocations: 363 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7002, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000286/0.7005, allocations: 24 kB / 1.027 GB, free: 7.766 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.0002031/0.7007, allocations: 179 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.7009, allocations: 71.89 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7009, allocations: 0 / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.7009, allocations: 0 / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.7015, allocations: 477.6 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.7022, allocations: 0.5225 MB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.7026, allocations: 0.771 MB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.909e-05/0.7027, allocations: 49.52 kB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.7028, allocations: 23.44 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7028, allocations: 3.938 kB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of Templates: time 0.005339/0.7082, allocations: 1.725 MB / 1.031 GB, free: 3.898 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches