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.00123/0.001231, allocations: 113.6 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.001276/0.001276, allocations: 183 kB / 17.34 MB, free: 5.738 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.396/2.396, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 76.09 kB / 1.066 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7723, allocations: 159.1 MB / 1.221 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002095/0.7744, allocations: 0.7729 MB / 1.222 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7755, allocations: 0.8235 MB / 1.222 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.7756, allocations: 4 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.7758, allocations: 59.8 kB / 1.223 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.7759, allocations: 31.83 kB / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.048e-05/0.776, allocations: 19.98 kB / 1.223 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.7761, allocations: 91.67 kB / 1.223 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.7763, allocations: 23.98 kB / 1.223 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.7764, allocations: 47.83 kB / 1.223 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.7765, allocations: 83.78 kB / 1.223 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.7765, allocations: 8 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.7766, allocations: 8 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.7767, allocations: 31.91 kB / 1.223 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.7767, allocations: 43.73 kB / 1.223 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.7769, allocations: 115.6 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7769, allocations: 8 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7769, allocations: 3.938 kB / 1.223 GB, free: 112 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7769, allocations: 3.938 kB / 1.223 GB, free: 108 kB / 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.000787/0.7777, allocations: 460.5 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.7778, allocations: 16.58 kB / 1.224 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.7778, allocations: 12.84 kB / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.778, allocations: 208 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.7781, allocations: 4.375 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.7781, allocations: 4.375 kB / 1.224 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.7785, allocations: 151.9 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7785, allocations: 4.125 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.7785, allocations: 7.938 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.7785, allocations: 0 / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.7791, allocations: 167.8 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.7799, allocations: 0.5007 MB / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.7803, allocations: 157.1 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.7805, allocations: 101.7 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.7806, allocations: 4 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.7806, allocations: 34.5 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.7806, allocations: 0 / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.000852/0.7814, allocations: 285.6 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.7815, allocations: 77.11 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.7817, allocations: 170.2 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.7817, allocations: 37.7 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.7818, allocations: 108 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.7818, allocations: 23.66 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.7819, allocations: 17.72 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.782, allocations: 326.8 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.7823, allocations: 75.92 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.7825, allocations: 97.62 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.783, allocations: 173.5 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.783, allocations: 4 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005111/0.7835, allocations: 205.3 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.7835, allocations: 4 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7835, allocations: 0 / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7836, allocations: 4 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.7838, allocations: 43.89 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7838, allocations: 0 / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.7839, allocations: 31.95 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.7839, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 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.0001031/0.784, allocations: 138 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.7841, allocations: 7.906 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.7841, allocations: 20.25 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7842, allocations: 4 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7842, allocations: 3.938 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.7842, allocations: 0 / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.7845, allocations: 233.4 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7845, allocations: 0 / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.7847, allocations: 31.95 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7847, allocations: 4 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.7847, allocations: 4 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7847, allocations: 3.938 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7847, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.7853, allocations: 374.5 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.7853, allocations: 96.86 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.7853, allocations: 4 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.7855, allocations: 23.95 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.7856, allocations: 11.98 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.7856, allocations: 4 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.04e-05/0.7857, allocations: 119.2 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7857, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002599/0.786, allocations: 20 kB / 1.227 GB, free: 11.21 MB / 0.9512 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.0001317/0.7861, allocations: 103.2 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005362/0.7866, allocations: 176 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7867, allocations: 0 / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.7869, allocations: 95.94 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.7873, allocations: 12 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.7878, allocations: 288.8 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.7881, allocations: 0.7224 MB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.7881, allocations: 15.44 kB / 1.229 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.7881, allocations: 0 / 1.229 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.00294/0.7911, allocations: 1.496 MB / 1.23 GB, free: 8.25 MB / 0.9512 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