Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001909/0.001909, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002149/0.002149, allocations: 196.5 kB / 16.14 MB, free: 6.676 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.542/1.542, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6957, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002265/0.698, allocations: 0.8289 MB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.699, allocations: 0.8274 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.6991, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.6993, allocations: 55.8 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.6994, allocations: 39.83 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.389e-05/0.6995, allocations: 23.92 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.6996, allocations: 75.81 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.6998, allocations: 31.97 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.6999, allocations: 43.77 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.7, allocations: 75.8 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.7001, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.7001, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.7002, allocations: 35.89 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.7002, allocations: 39.73 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.7004, allocations: 111.6 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7004, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.51e-07/0.7004, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.7004, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 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.0008621/0.7013, allocations: 464.9 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7014, allocations: 11.98 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.7014, allocations: 12.75 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.7017, allocations: 209.8 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7017, allocations: 8.375 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.7017, allocations: 8.375 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.7022, allocations: 147.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7022, allocations: 192 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.7022, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7022, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.7028, allocations: 171.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.7037, allocations: 0.5008 MB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.7041, allocations: 165.1 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.7044, allocations: 97.73 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7044, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7045, allocations: 30.56 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.7045, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0009321/0.7054, allocations: 289.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.7055, allocations: 81.11 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.7057, allocations: 166.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.7057, allocations: 33.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.7058, allocations: 100.1 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.7058, allocations: 31.55 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.7059, allocations: 21.72 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7061, allocations: 326.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.7063, allocations: 79.91 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.7066, allocations: 97.56 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.7071, allocations: 173.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7071, allocations: 11.94 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005664/0.7076, allocations: 205.4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7077, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7077, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7077, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7079, allocations: 39.95 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7079, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.7081, allocations: 27.88 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.7081, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 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.0001212/0.7082, allocations: 129 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.7083, allocations: 15.84 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.7083, allocations: 32.17 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7083, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7083, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.7084, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.7087, allocations: 221.5 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7087, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.7089, allocations: 35.95 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7089, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.7089, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7089, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7089, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.7095, allocations: 378.4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.7096, allocations: 96.94 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.7096, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.7098, allocations: 27.97 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.7099, allocations: 7.984 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.7099, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.71, allocations: 123.2 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.71, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.7103, allocations: 23.98 kB / 1.023 GB, free: 11.68 MB / 0.7794 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.0001768/0.7105, allocations: 103.8 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.711, allocations: 171.7 kB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7111, allocations: 0 / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.7114, allocations: 92.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.7117, allocations: 23.86 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.7123, allocations: 281 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.7127, allocations: 0.7121 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.01e-05/0.7128, allocations: 35.89 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.7129, allocations: 11.44 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7129, allocations: 4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.004062/0.7169, allocations: 0.9809 MB / 1.026 GB, free: 9.219 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches