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.001227/0.001227, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001364/0.001364, allocations: 187 kB / 17.34 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 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.555/2.555, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9497/0.9513, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002113/0.9535, allocations: 0.7628 MB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.9545, allocations: 0.8312 MB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.9546, allocations: 0 / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.9548, allocations: 63.8 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.955, allocations: 35.83 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.632e-05/0.9551, allocations: 15.97 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.9552, allocations: 95.69 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.9554, allocations: 19.98 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.9555, allocations: 47.83 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.9557, allocations: 79.8 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.9557, allocations: 8 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.9557, allocations: 8 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.9558, allocations: 38.33 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.9559, allocations: 43.73 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.956, allocations: 115.6 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.956, allocations: 3.984 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9561, allocations: 0 / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.9561, allocations: 4 kB / 1.169 GB, free: 1.727 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.0008187/0.9569, allocations: 456.7 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9569, allocations: 16.86 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.957, allocations: 20.69 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.9572, allocations: 198.3 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9572, allocations: 12.38 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.9573, allocations: 4.375 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.9577, allocations: 159.7 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9577, allocations: 192 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9577, allocations: 3.938 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.9577, allocations: 7.938 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.9582, allocations: 175.8 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.9591, allocations: 0.4968 MB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.9595, allocations: 165.1 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.9597, allocations: 97.73 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.9598, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9598, allocations: 34.5 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.9598, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0008288/0.9606, allocations: 285.4 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.9607, allocations: 81.05 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.9608, allocations: 161.1 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.9609, allocations: 29.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.9609, allocations: 104 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.961, allocations: 35.62 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.961, allocations: 21.72 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9611, allocations: 326.8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.9614, allocations: 79.92 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.9616, allocations: 89.64 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.9621, allocations: 169.6 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9621, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005214/0.9626, allocations: 213.7 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9626, allocations: 8 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9627, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.9627, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.9629, allocations: 35.95 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9629, allocations: 7.938 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.963, allocations: 23.97 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9631, allocations: 7.984 kB / 1.173 GB, free: 14.01 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 9.582e-05/0.9632, allocations: 133.8 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.9632, allocations: 11.89 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.9633, allocations: 20.23 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9633, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9633, allocations: 8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9633, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.9636, allocations: 225.4 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.9636, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.9638, allocations: 35.95 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9638, allocations: 0 / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.9638, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.9638, allocations: 4 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9638, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.9644, allocations: 382.4 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.9644, allocations: 92.89 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.9645, allocations: 4 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.9647, allocations: 27.97 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.9647, allocations: 7.984 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.9648, allocations: 4 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.9648, allocations: 119.2 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9649, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002725/0.9651, allocations: 20 kB / 1.174 GB, free: 12.82 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.0001352/0.9653, allocations: 107.2 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005169/0.9658, allocations: 175.8 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9658, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.9661, allocations: 91.86 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.9664, allocations: 18.22 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.967, allocations: 285 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.9673, allocations: 0.708 MB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.9674, allocations: 15.42 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.9674, allocations: 4 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.003742/0.9711, allocations: 1.488 MB / 1.177 GB, free: 9.883 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