Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 102.7 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 192.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 469.8 MB / 0.7427 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 74.59 kB / 0.9087 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2861, allocations: 159.1 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00195/0.2881, allocations: 0.8291 MB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.289, allocations: 0.8274 MB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.289, allocations: 7.938 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2892, allocations: 55.86 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.2893, allocations: 31.83 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.572e-05/0.2894, allocations: 19.98 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2895, allocations: 87.75 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2896, allocations: 27.97 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.2897, allocations: 43.84 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2898, allocations: 75.8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2899, allocations: 8 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.2899, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.29, allocations: 39.88 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.29, allocations: 43.73 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.2902, allocations: 79.86 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2902, allocations: 7.938 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2902, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2902, allocations: 0 / 1.066 GB, free: 12.4 MB / 0.8262 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.000745/0.2909, allocations: 459.2 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.291, allocations: 11.97 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.291, allocations: 16.75 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.2912, allocations: 216 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2912, allocations: 4.375 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2913, allocations: 4.375 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.2917, allocations: 147.9 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2917, allocations: 192 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2917, allocations: 7.875 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2917, allocations: 8 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.2922, allocations: 171.8 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.293, allocations: 0.5008 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2934, allocations: 165.1 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.2937, allocations: 89.73 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2937, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2937, allocations: 34.56 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.2938, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000849/0.2946, allocations: 285.3 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.2947, allocations: 77.11 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2948, allocations: 169.5 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2949, allocations: 25.7 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.2949, allocations: 112 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.295, allocations: 27.64 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.295, allocations: 21.72 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2952, allocations: 326.8 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.2954, allocations: 79.92 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2957, allocations: 89.64 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.2961, allocations: 177.9 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2961, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005271/0.2967, allocations: 205.4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2967, allocations: 8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2967, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2967, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2969, allocations: 39.95 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2969, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2971, allocations: 27.81 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2971, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.2972, allocations: 137.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2973, allocations: 11.91 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.2973, allocations: 20.23 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2973, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2973, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2973, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.2976, allocations: 225.5 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2976, allocations: 3.938 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.2978, allocations: 39.95 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2978, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2979, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2979, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2979, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.2985, allocations: 390.4 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.2985, allocations: 85 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2986, allocations: 4 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2987, allocations: 19.97 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.2988, allocations: 11.98 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2988, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.354e-05/0.2989, allocations: 124.8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2989, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002581/0.2992, allocations: 20 kB / 1.071 GB, free: 7.504 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.2993, allocations: 107.2 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.2999, allocations: 171.7 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2999, allocations: 4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.3002, allocations: 91.86 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3005, allocations: 17.53 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.301, allocations: 312.8 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3014, allocations: 0.7084 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.3014, allocations: 15.44 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3014, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.003084/0.3045, allocations: 1.488 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches