Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009112, allocations: 99.88 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.817e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3323, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.42, allocations: 148.1 MB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.42, allocations: 75.05 kB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004885/1.425, allocations: 1.405 MB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.916e-06/1.425, allocations: 1.312 kB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.965e-05/1.425, allocations: 1.25 kB / 1.352 GB, free: 34.06 MB / 0.8386 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.0007241/1.426, allocations: 452.8 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.426, allocations: 11.5 kB / 1.353 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/1.426, allocations: 16.3 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/1.426, allocations: 202.7 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.426, allocations: 4.812 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/1.426, allocations: 11.81 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002006/1.426, allocations: 97.44 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.426, allocations: 103.9 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.426, allocations: 0 / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.426, allocations: 3.875 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.427, allocations: 1.406 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/1.427, allocations: 0.4964 MB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.428, allocations: 122.7 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/1.428, allocations: 58.92 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.428, allocations: 3.938 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.428, allocations: 39.12 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.428, allocations: 4 kB / 1.354 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002753/1.428, allocations: 124.6 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.428, allocations: 77.11 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/1.428, allocations: 141.4 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/1.428, allocations: 25.7 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/1.428, allocations: 105.4 kB / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/1.428, allocations: 25.31 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/1.428, allocations: 0 / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.428, allocations: 333.5 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/1.428, allocations: 47.22 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/1.429, allocations: 52.58 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/1.429, allocations: 45.44 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.429, allocations: 0 / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001937/1.429, allocations: 134 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.429, allocations: 7.75 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.429, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.429, allocations: 1.547 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.429, allocations: 49.34 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.429, allocations: 0.7969 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/1.429, allocations: 32.67 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/1.429, allocations: 4.797 kB / 1.355 GB, free: 32.22 MB / 0.8386 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 9.191e-05/1.429, allocations: 104.9 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/1.43, allocations: 14.47 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/1.43, allocations: 16.72 kB / 1.355 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.43, allocations: 3.938 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.43, allocations: 6.766 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.43, allocations: 0 / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/1.43, allocations: 201.8 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.43, allocations: 0 / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/1.43, allocations: 53.92 kB / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.43, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.43, allocations: 0.6094 kB / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.43, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.43, allocations: 3.938 kB / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/1.43, allocations: 320 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/1.43, allocations: 85.56 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/1.43, allocations: 4.406 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/1.431, allocations: 29.56 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.431, allocations: 15.14 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/1.431, allocations: 4.469 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.083e-05/1.431, allocations: 123.3 kB / 1.356 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.431, allocations: 0 / 1.356 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002529/1.431, allocations: 19.44 kB / 1.356 GB, free: 31.5 MB / 0.8386 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.0001524/1.431, allocations: 103.7 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001938/1.431, allocations: 95.78 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.431, allocations: 0 / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/1.432, allocations: 56.56 kB / 1.356 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/1.432, allocations: 13.12 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/1.432, allocations: 169.8 kB / 1.356 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/1.432, allocations: 0.7156 MB / 1.357 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.817e-05/1.433, allocations: 31.81 kB / 1.357 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/1.433, allocations: 11.31 kB / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.433, allocations: 0 / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.002633/1.435, allocations: 0.8652 MB / 1.358 GB, free: 30.53 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches