Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001268/0.001268, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001329/0.001329, allocations: 186.2 kB / 17.34 MB, free: 5.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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.449/2.449, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 63.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7626, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002034/0.7647, allocations: 0.7686 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.7658, allocations: 0.8273 MB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.7659, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.7661, allocations: 55.8 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.7662, allocations: 35.83 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.16e-05/0.7663, allocations: 15.97 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.7664, allocations: 91.75 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.7666, allocations: 23.98 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7667, allocations: 43.83 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.7668, allocations: 75.8 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.7669, allocations: 8 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.7669, allocations: 15.94 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.767, allocations: 39.89 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.7671, allocations: 39.73 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.7672, allocations: 119.6 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.7672, allocations: 3.984 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7672, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.7673, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 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.0008193/0.7681, allocations: 460.7 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7681, allocations: 12.02 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.7682, allocations: 16.75 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.7684, allocations: 200.1 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.7684, allocations: 384 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.7684, allocations: 12.31 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.7688, allocations: 155.8 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7688, allocations: 192 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.7689, allocations: 7.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7689, allocations: 4 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.7694, allocations: 163.8 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.7702, allocations: 0.5085 MB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.7706, allocations: 165.1 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.7709, allocations: 101.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.7709, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.771, allocations: 34.56 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.771, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0009092/0.7719, allocations: 285.3 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7719, allocations: 81.11 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.7721, allocations: 166.6 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.7721, allocations: 25.7 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.7722, allocations: 112 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.7722, allocations: 31.62 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.7723, allocations: 21.72 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7724, allocations: 326.8 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.7726, allocations: 79.92 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.7729, allocations: 89.58 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.7734, allocations: 173.6 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7734, allocations: 0 / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005381/0.7739, allocations: 209.7 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.774, allocations: 12 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.774, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.774, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.7742, allocations: 36 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7742, allocations: 4.141 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.7744, allocations: 27.95 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.7744, allocations: 7.938 kB / 1.214 GB, free: 7.711 MB / 0.9356 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 9.952e-05/0.7745, allocations: 133.8 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.7746, allocations: 7.906 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.7746, allocations: 24.23 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7746, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7746, allocations: 4 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7746, allocations: 3.938 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.7749, allocations: 225.4 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7749, allocations: 0 / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.7751, allocations: 35.95 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7751, allocations: 4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.7751, allocations: 4 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7751, allocations: 0 / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7751, allocations: 0 / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.7758, allocations: 386.5 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.7758, allocations: 88.89 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.7758, allocations: 4 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.776, allocations: 23.97 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.7761, allocations: 7.984 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.7761, allocations: 3.938 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.7762, allocations: 127.2 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7762, allocations: 0 / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002737/0.7765, allocations: 20 kB / 1.215 GB, free: 6.527 MB / 0.9356 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.0001275/0.7766, allocations: 103.2 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.7772, allocations: 179.7 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7772, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.7775, allocations: 83.92 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.7778, allocations: 17.86 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.7783, allocations: 292.7 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.7786, allocations: 0.708 MB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.7787, allocations: 11.44 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7787, allocations: 0 / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.002897/0.7816, allocations: 1.497 MB / 1.218 GB, free: 3.582 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches