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.001191/0.001191, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001148/0.001148, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.544/1.544, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.559/2.559, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002022/1.032, allocations: 0.7607 MB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001022/1.033, allocations: 0.8312 MB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/1.033, allocations: 0 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/1.033, allocations: 67.8 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/1.033, allocations: 35.83 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.81e-05/1.034, allocations: 15.97 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/1.034, allocations: 91.75 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/1.034, allocations: 27.97 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/1.034, allocations: 43.78 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/1.034, allocations: 79.78 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/1.034, allocations: 8 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/1.034, allocations: 8 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/1.034, allocations: 42.33 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/1.034, allocations: 43.73 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/1.034, allocations: 119.6 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.034, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.993e-06/1.034, allocations: 4 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.034, allocations: 0 / 1.169 GB, free: 1.754 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.0008304/1.035, allocations: 460.8 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.035, allocations: 12.88 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/1.035, allocations: 12.75 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.036, allocations: 204 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/1.036, allocations: 8.375 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/1.036, allocations: 8.375 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/1.036, allocations: 147.8 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.036, allocations: 192 / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/1.036, allocations: 7.938 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.036, allocations: 4 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/1.037, allocations: 175.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/1.038, allocations: 0.5007 MB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/1.038, allocations: 165.1 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/1.038, allocations: 101.7 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/1.038, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.038, allocations: 34.55 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/1.038, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0009625/1.039, allocations: 281.3 kB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1.039, allocations: 81.11 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/1.04, allocations: 165.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.04, allocations: 33.64 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/1.04, allocations: 104 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/1.04, allocations: 27.64 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/1.04, allocations: 21.72 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.04, allocations: 318.8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/1.04, allocations: 79.86 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/1.041, allocations: 93.64 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/1.041, allocations: 173.5 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.041, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005642/1.042, allocations: 213.3 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.042, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.042, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.042, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.042, allocations: 35.95 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.042, allocations: 4 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/1.042, allocations: 27.95 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/1.042, allocations: 4 kB / 1.173 GB, free: 14.04 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.0001156/1.042, allocations: 129.7 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/1.042, allocations: 11.91 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/1.042, allocations: 24.23 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.042, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.042, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/1.042, allocations: 89.39 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/1.042, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.043, allocations: 27.95 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/1.043, allocations: 15.92 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007576/1.044, allocations: 384 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006998/1.044, allocations: 449.9 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002773/1.045, allocations: 87.91 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.808e-05/1.045, allocations: 119.2 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/1.045, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007433/1.045, allocations: 178.2 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000725/1.046, allocations: 0.6628 MB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.004632/1.051, allocations: 1.635 MB / 1.177 GB, free: 10.15 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