Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 249.3 MB / 261.9 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 99.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.336e-05, allocations: 8 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/0.9074, allocations: 131.4 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.9077, allocations: 70.77 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004384/0.9121, allocations: 1.46 MB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9121, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.9122, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.6355 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.0006043/0.9128, allocations: 451.3 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9128, allocations: 8.031 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.9129, allocations: 15.81 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.9131, allocations: 206.3 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.9131, allocations: 4 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.9131, allocations: 7.188 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.9134, allocations: 120.9 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9134, allocations: 0 / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.9134, allocations: 4 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9134, allocations: 0 / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.9136, allocations: 96.39 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.9145, allocations: 0.5242 MB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.9147, allocations: 131.3 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.9148, allocations: 60.17 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9148, allocations: 4 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.9148, allocations: 36.92 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.9148, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002793/0.9151, allocations: 134.2 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.9152, allocations: 89.05 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.9154, allocations: 142.9 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.9154, allocations: 25.7 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.9155, allocations: 111.1 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.9155, allocations: 30.86 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.9155, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9156, allocations: 325.7 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.9157, allocations: 38.11 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.9158, allocations: 56.52 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.9159, allocations: 54.42 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9159, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001958/0.9161, allocations: 138.2 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9161, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.9161, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.9161, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.9164, allocations: 50.95 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9164, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.9165, allocations: 39.81 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.9166, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.6511 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 () * 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 7.569e-05/0.9166, allocations: 116.8 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.9167, allocations: 11.91 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.9168, allocations: 18.34 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9168, allocations: 3.984 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9168, allocations: 0 / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9168, allocations: 4 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.9171, allocations: 223.5 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9171, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.9173, allocations: 51.33 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9173, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.9173, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9173, allocations: 0.875 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9173, allocations: 4 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.9176, allocations: 328.5 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.9177, allocations: 88.95 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.9177, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.9179, allocations: 31.16 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.918, allocations: 7.984 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.918, allocations: 15.33 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.9181, allocations: 126.4 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9181, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000239/0.9183, allocations: 19.38 kB / 1.025 GB, free: 14.1 MB / 0.6511 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 () * 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.0001544/0.9185, allocations: 95.25 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.9187, allocations: 104 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9187, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.9188, allocations: 57.23 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.9191, allocations: 17.47 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.9195, allocations: 183.4 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.9198, allocations: 0.7159 MB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.427e-05/0.9199, allocations: 32.39 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.9199, allocations: 19.38 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.9199, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.003174/0.9231, allocations: 0.9494 MB / 1.027 GB, free: 11.96 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches