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.41/2.41, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001494/0.001494, allocations: 177.1 kB / 498.1 MB, free: 5.734 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.624/1.624, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.001264/0.001264, allocations: 86.77 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 17.81 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.4526, allocations: 148.8 MB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4529, allocations: 71.97 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004642/0.4576, allocations: 1.412 MB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4576, allocations: 0 / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.4577, allocations: 4 kB / 1.37 GB, free: 11.7 MB / 0.8698 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.0007367/0.4584, allocations: 474.7 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4585, allocations: 8.031 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.4585, allocations: 11.89 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.4589, allocations: 202.8 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.4589, allocations: 8 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4589, allocations: 4 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.4594, allocations: 171.2 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4594, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4594, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4594, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.46, allocations: 207.8 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.461, allocations: 0.519 MB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.4615, allocations: 177.2 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4615, allocations: 11.92 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4615, allocations: 34.56 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.4615, allocations: 0 / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0009083/0.4624, allocations: 337.2 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4625, allocations: 81.06 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4627, allocations: 146.7 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4627, allocations: 29.7 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.4628, allocations: 108 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.4628, allocations: 35.55 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.4629, allocations: 0 / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.463, allocations: 318.8 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.4632, allocations: 95.92 kB / 1.373 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.4635, allocations: 105.6 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.4638, allocations: 99.92 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4638, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005506/0.4643, allocations: 237.4 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4644, allocations: 8 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4644, allocations: 3.984 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.4644, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4646, allocations: 43.97 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.4646, allocations: 3.953 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.4648, allocations: 35.95 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4648, allocations: 4 kB / 1.373 GB, free: 7.996 MB / 0.8698 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.0001086/0.4649, allocations: 133.8 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.465, allocations: 15.81 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.4651, allocations: 16.25 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4651, allocations: 0 / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4651, allocations: 3.984 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4651, allocations: 3.953 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.4654, allocations: 229.6 kB / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4654, allocations: 0 / 1.373 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.4656, allocations: 43.95 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4656, allocations: 4 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4656, allocations: 0 / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4656, allocations: 0 / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4656, allocations: 0 / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.4663, allocations: 424.2 kB / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.4664, allocations: 96.84 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.4664, allocations: 0 / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.4666, allocations: 39.97 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.4667, allocations: 11.94 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4667, allocations: 0 / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.78e-05/0.4668, allocations: 128 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4668, allocations: 3.938 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002584/0.4671, allocations: 20 kB / 1.374 GB, free: 6.738 MB / 0.8698 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.0001813/0.4673, allocations: 103.5 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.4678, allocations: 203.8 kB / 1.374 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4679, allocations: 0 / 1.374 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.4681, allocations: 112.1 kB / 1.375 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.4684, allocations: 17.33 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.469, allocations: 274.5 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4693, allocations: 0.716 MB / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.4694, allocations: 31.97 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4695, allocations: 7.438 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.4695, allocations: 4 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of Templates: time 0.00336/0.4729, allocations: 0.9359 MB / 1.377 GB, free: 4.285 MB / 0.8698 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