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.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 189.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0008561/0.000856, allocations: 96.27 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12.47 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.3456, allocations: 131.4 MB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.3458, allocations: 67.97 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004392/0.3502, allocations: 1.459 MB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3503, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.3503, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 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.0006866/0.351, allocations: 470.7 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.351, allocations: 12.03 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3511, allocations: 11.81 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3513, allocations: 214.7 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3514, allocations: 3.938 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3514, allocations: 4 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.3518, allocations: 167.3 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3518, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3518, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3519, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.3524, allocations: 207.8 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.3533, allocations: 0.5242 MB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.3537, allocations: 177.1 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.3537, allocations: 4 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3538, allocations: 30.56 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3538, allocations: 4 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008951/0.3547, allocations: 337.5 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3547, allocations: 77.11 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3549, allocations: 156.2 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3549, allocations: 25.7 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.355, allocations: 96.14 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.355, allocations: 31.55 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.355, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3551, allocations: 326.8 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3554, allocations: 91.92 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3557, allocations: 109.6 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.3559, allocations: 99.86 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3559, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005605/0.3565, allocations: 241.4 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3565, allocations: 8 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3565, allocations: 3.938 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3566, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3568, allocations: 51.89 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3568, allocations: 0 / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.357, allocations: 43.77 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.357, allocations: 4 kB / 1.033 GB, free: 7.422 MB / 0.6823 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.0001059/0.3571, allocations: 125.8 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.3572, allocations: 11.91 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.3572, allocations: 24.23 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3573, allocations: 0 / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3573, allocations: 0 / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3573, allocations: 4 kB / 1.034 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.3576, allocations: 225.5 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3576, allocations: 0 / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.3579, allocations: 47.95 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3579, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3579, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3579, allocations: 3.938 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3579, allocations: 4 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.3587, allocations: 424.2 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.3588, allocations: 85.02 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3588, allocations: 8 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.3591, allocations: 36.77 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.3591, allocations: 11.98 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3591, allocations: 0 / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3593, allocations: 132 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3593, allocations: 0 / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003165/0.3596, allocations: 20 kB / 1.034 GB, free: 6.18 MB / 0.6823 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.0001823/0.3598, allocations: 99.19 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006947/0.3605, allocations: 204.2 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3605, allocations: 0 / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.3609, allocations: 111.9 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3612, allocations: 14 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.3618, allocations: 284.4 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3621, allocations: 0.718 MB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.111e-05/0.3622, allocations: 31.95 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.3622, allocations: 19.38 kB / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3622, allocations: 0 / 1.036 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of Templates: time 0.003025/0.3653, allocations: 0.9371 MB / 1.037 GB, free: 3.723 MB / 0.6823 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