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.001566/0.001566, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001703/0.001704, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 442.5 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 72.84 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4195, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002613/0.4222, allocations: 0.7802 MB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4235, allocations: 0.8312 MB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.4236, allocations: 3.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.4239, allocations: 59.78 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.424, allocations: 27.84 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.336e-05/0.4241, allocations: 19.97 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.4242, allocations: 87.8 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.4244, allocations: 23.94 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.4245, allocations: 43.83 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.4247, allocations: 87.78 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.4248, allocations: 8 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.4248, allocations: 12 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.4249, allocations: 35.89 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.425, allocations: 43.81 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.4252, allocations: 115.5 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4252, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4252, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4252, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 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.0008522/0.4261, allocations: 458.9 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4261, allocations: 12.03 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.4261, allocations: 12.75 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.4264, allocations: 211.9 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4264, allocations: 8.375 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4264, allocations: 384 / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.4268, allocations: 155.9 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4268, allocations: 192 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4268, allocations: 3.938 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4269, allocations: 0 / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.4273, allocations: 175.8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.4282, allocations: 0.493 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.4286, allocations: 173 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.4288, allocations: 93.73 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4289, allocations: 4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4289, allocations: 34.56 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4289, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0008251/0.4297, allocations: 281.3 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.4298, allocations: 85.05 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.43, allocations: 164.2 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.43, allocations: 33.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.4301, allocations: 104.1 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4301, allocations: 27.56 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.4302, allocations: 21.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4303, allocations: 330.7 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.4306, allocations: 83.92 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.4308, allocations: 89.64 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.4312, allocations: 173.6 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4312, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005184/0.4318, allocations: 209.4 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4318, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4318, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4318, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.432, allocations: 27.97 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.432, allocations: 3.984 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4322, allocations: 35.81 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4322, allocations: 3.938 kB / 1.032 GB, free: 12.16 MB / 0.8106 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.0001247/0.4323, allocations: 140.8 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.4324, allocations: 11.91 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.4324, allocations: 20.25 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4325, allocations: 4.453 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4325, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4325, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4328, allocations: 229.5 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4328, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.433, allocations: 35.95 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.433, allocations: 7.984 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.433, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.433, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.433, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.4336, allocations: 386.4 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.4337, allocations: 85.02 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.4337, allocations: 3.984 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4339, allocations: 23.97 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.434, allocations: 7.984 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.434, allocations: 8 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.957e-05/0.4341, allocations: 123.2 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4341, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002765/0.4344, allocations: 20 kB / 1.033 GB, free: 10.98 MB / 0.8106 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.00018/0.4346, allocations: 99.23 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.4351, allocations: 183.7 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4351, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.4354, allocations: 87.86 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.4358, allocations: 23.92 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.4364, allocations: 263.2 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4367, allocations: 0.708 MB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.709e-05/0.4368, allocations: 23.97 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.4369, allocations: 15.44 kB / 1.035 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.4369, allocations: 4 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of Templates: time 0.003634/0.4405, allocations: 1.189 MB / 1.036 GB, free: 8.332 MB / 0.8106 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 -s cvode -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