Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009911/0.0009913, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009817/0.0009819, allocations: 91.75 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.631e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.485, allocations: 149.6 MB / 1.365 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.486, allocations: 71.39 kB / 1.365 GB, free: 4.359 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005556/1.491, allocations: 1.415 MB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/1.491, allocations: 0 / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.491, allocations: 0 / 1.366 GB, free: 3.059 MB / 0.823 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.000835/1.492, allocations: 454.5 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.492, allocations: 8.031 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/1.492, allocations: 17.78 kB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/1.493, allocations: 219 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/1.493, allocations: 4 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/1.493, allocations: 3.062 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/1.493, allocations: 115.5 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.493, allocations: 0 / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/1.493, allocations: 3.188 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.493, allocations: 4 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/1.493, allocations: 103.4 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/1.494, allocations: 0.5201 MB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/1.495, allocations: 128.6 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/1.495, allocations: 60.22 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/1.495, allocations: 4 kB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.495, allocations: 34.56 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/1.495, allocations: 0 / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0004006/1.495, allocations: 141.4 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.495, allocations: 77.11 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/1.496, allocations: 148.7 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.496, allocations: 29.08 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/1.496, allocations: 110 kB / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/1.496, allocations: 22.84 kB / 1.368 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/1.496, allocations: 7.625 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.496, allocations: 322.3 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.496, allocations: 42.3 kB / 1.369 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/1.496, allocations: 63.83 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/1.496, allocations: 42.53 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.496, allocations: 4 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002923/1.497, allocations: 134.3 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.497, allocations: 9.25 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.497, allocations: 7.938 kB / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.497, allocations: 0 / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/1.497, allocations: 51.89 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.497, allocations: 3.953 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.497, allocations: 35.22 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.497, allocations: 4 kB / 1.369 GB, free: 204 kB / 0.823 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 8.146e-05/1.497, allocations: 104.5 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/1.497, allocations: 15.89 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/1.498, allocations: 15.66 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.498, allocations: 3.938 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.498, allocations: 0 / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.498, allocations: 3.953 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/1.498, allocations: 226.9 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.498, allocations: 4.188 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/1.498, allocations: 43.89 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.498, allocations: 4 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.498, allocations: 3.984 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.498, allocations: 0 / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.498, allocations: 0 / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/1.499, allocations: 334 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/1.499, allocations: 88.95 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.499, allocations: 0 / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/1.499, allocations: 39.83 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/1.499, allocations: 11.94 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.499, allocations: 4 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001126/1.499, allocations: 120.9 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.324e-06/1.499, allocations: 0 / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004034/1.5, allocations: 19.94 kB / 1.37 GB, free: 15.16 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.0001585/1.5, allocations: 101.9 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002822/1.5, allocations: 104.8 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.5, allocations: 0 / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.5, allocations: 53.42 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/1.501, allocations: 12.39 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/1.501, allocations: 183.1 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.502, allocations: 0.716 MB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001415/1.502, allocations: 27.97 kB / 1.371 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/1.502, allocations: 11.42 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.502, allocations: 7.938 kB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.004044/1.506, allocations: 0.9429 MB / 1.372 GB, free: 13.02 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches