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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001305/0.001305, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001619/0.001619, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8526, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.0009897/0.8536, allocations: 494.1 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.8547, allocations: 0.8196 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.8547, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.8549, allocations: 55.84 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.855, allocations: 27.95 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.369e-05/0.8551, allocations: 19.92 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.8552, allocations: 51.92 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.8553, allocations: 27.91 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.8554, allocations: 39.83 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.8556, allocations: 63.86 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.8556, allocations: 4 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.8556, allocations: 4 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.8557, allocations: 27.91 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.8557, allocations: 41.64 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.8558, allocations: 83.81 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.8558, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8558, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8558, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 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.0007585/0.8566, allocations: 464.8 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8567, allocations: 8.031 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.8567, allocations: 11.91 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.857, allocations: 198.8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.857, allocations: 11.94 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.857, allocations: 4 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.8574, allocations: 171.2 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.8574, allocations: 0 / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.8575, allocations: 4 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8575, allocations: 0 / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.858, allocations: 203.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.8589, allocations: 0.5125 MB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.8594, allocations: 185.1 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.8594, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.8594, allocations: 42.62 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.8594, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0009065/0.8603, allocations: 337.2 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.8604, allocations: 77.11 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.8606, allocations: 171.9 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.8606, allocations: 25.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.8607, allocations: 96.14 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.8607, allocations: 35.48 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.8607, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8609, allocations: 326.8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.8611, allocations: 95.92 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.8614, allocations: 105.6 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.8616, allocations: 95.92 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8617, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005642/0.8622, allocations: 237.4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8623, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8623, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8623, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8625, allocations: 47.89 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.8625, allocations: 8.141 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.8627, allocations: 31.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.8627, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.8628, allocations: 133.8 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.8629, allocations: 11.81 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.8629, allocations: 24.23 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8629, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8629, allocations: 4 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8629, allocations: 0 / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.8633, allocations: 229.5 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8633, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.8635, allocations: 43.89 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8635, allocations: 0 / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.8635, allocations: 8 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8635, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8635, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.8642, allocations: 420.2 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.8642, allocations: 96.86 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.8643, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.8645, allocations: 32.44 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.8646, allocations: 15.92 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8646, allocations: 7.984 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.8647, allocations: 122.5 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8647, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002671/0.865, allocations: 16 kB / 1.027 GB, free: 10.41 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/0.8652, allocations: 107.2 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005829/0.8657, allocations: 207.8 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8658, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.866, allocations: 103.9 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.8663, allocations: 17.5 kB / 1.027 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.8669, allocations: 282.2 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.8673, allocations: 0.716 MB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.459e-05/0.8674, allocations: 23.97 kB / 1.028 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.8674, allocations: 11.44 kB / 1.028 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.8674, allocations: 0 / 1.028 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.003324/0.8708, allocations: 0.9463 MB / 1.029 GB, free: 7.949 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches