Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 105.1 kB / 16.41 MB, free: 6.445 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.002383/0.002383, allocations: 187 kB / 17.34 MB, free: 5.703 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.06 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.718/2.718, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.91 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.8455, allocations: 151.6 MB / 1.167 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00222/0.8478, allocations: 0.7621 MB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.8488, allocations: 0.8351 MB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.8489, allocations: 4 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.8491, allocations: 55.81 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.8493, allocations: 39.81 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.895e-05/0.8494, allocations: 19.97 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.8495, allocations: 87.7 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.8497, allocations: 27.97 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.8498, allocations: 47.81 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.85, allocations: 79.8 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.85, allocations: 7.938 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.85, allocations: 8 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.8501, allocations: 38.34 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.8502, allocations: 51.73 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.8503, allocations: 116.1 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8503, allocations: 0 / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8504, allocations: 0 / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8504, allocations: 4 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008412/0.8512, allocations: 466.8 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8513, allocations: 16.88 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.8513, allocations: 16.78 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.8516, allocations: 204.2 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8516, allocations: 384 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.8516, allocations: 8.375 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.852, allocations: 151.8 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8521, allocations: 4.188 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8521, allocations: 7.938 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.8521, allocations: 0 / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.8526, allocations: 171.8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.8535, allocations: 0.4931 MB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.8539, allocations: 165.1 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.8542, allocations: 101.7 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.8542, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.8543, allocations: 38.5 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 3.116e-06/0.8543, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0009029/0.8552, allocations: 277.4 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.8553, allocations: 85.03 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.8554, allocations: 165.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.8554, allocations: 29.7 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.8555, allocations: 104.1 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.8556, allocations: 31.73 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.8556, allocations: 17.72 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8558, allocations: 326.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.8561, allocations: 79.92 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.8563, allocations: 93.62 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.8568, allocations: 169.9 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8569, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005882/0.8574, allocations: 213.4 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8575, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8575, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8575, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.8577, allocations: 35.95 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8577, allocations: 7.875 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.8579, allocations: 39.83 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.8579, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001124/0.858, allocations: 129.8 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.8581, allocations: 11.95 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.8582, allocations: 20.25 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.8582, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8582, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8582, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.8585, allocations: 225.5 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8585, allocations: 7.984 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.8587, allocations: 27.97 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8587, allocations: 4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.8587, allocations: 4 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.8587, allocations: 0 / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8587, allocations: 3.984 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.8594, allocations: 386.5 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.8594, allocations: 89.02 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.8595, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.8597, allocations: 27.95 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.8598, allocations: 7.984 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.8598, allocations: 4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.8599, allocations: 119.2 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8599, allocations: 0 / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000281/0.8602, allocations: 24 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0001419/0.8603, allocations: 103.2 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005693/0.8609, allocations: 175.8 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8609, allocations: 4 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.8612, allocations: 87.86 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.8616, allocations: 22.17 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.8621, allocations: 284.7 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.8624, allocations: 0.7119 MB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.8625, allocations: 11.44 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.8625, allocations: 0 / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.0031/0.8656, allocations: 1.503 MB / 1.177 GB, free: 9.695 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches