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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 79.7 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.051/3.051, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.15e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002009/0.00204, allocations: 0.7651 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003245, allocations: 0.8612 MB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.00329, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.003494, allocations: 59.78 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.003577, allocations: 35.84 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.628e-05/0.003663, allocations: 20.59 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.003829, allocations: 95.67 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003952, allocations: 20.8 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004059, allocations: 47.89 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.004224, allocations: 84.98 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.004252, allocations: 4 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.004271, allocations: 9.406 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.004342, allocations: 31.91 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.004405, allocations: 35.91 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.004605, allocations: 115.7 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004608, allocations: 8.938 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004609, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.004614, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 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.0008012/0.005415, allocations: 485.3 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.005478, allocations: 9.844 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.005535, allocations: 12.89 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.005759, allocations: 148.3 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.005774, allocations: 4.375 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005793, allocations: 8.359 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.0061, allocations: 112 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.006108, allocations: 192 / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00612, allocations: 8.312 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.006125, allocations: 384 / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.006462, allocations: 80.5 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.007281, allocations: 0.4886 MB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.007603, allocations: 110.9 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.007774, allocations: 52.27 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.007796, allocations: 4 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.007836, allocations: 46.83 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.007837, allocations: 0 / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000613/0.00845, allocations: 155.7 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.008519, allocations: 81.11 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.008745, allocations: 227.8 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.00877, allocations: 29.7 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.008881, allocations: 154.9 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.008925, allocations: 28.25 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.008988, allocations: 31.36 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002926/0.00928, allocations: 0.5008 MB / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.009434, allocations: 28.52 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.009589, allocations: 57 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.009876, allocations: 87.78 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009878, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003537/0.01023, allocations: 122.8 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01025, allocations: 9.156 kB / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01025, allocations: 4 kB / 0.7916 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01027, allocations: 0 / 0.7916 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.01044, allocations: 37.28 kB / 0.7916 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01045, allocations: 0 / 0.7916 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.01054, allocations: 11.98 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01055, allocations: 5.75 kB / 0.7916 GB, free: 7.23 MB / 0.7448 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.00013/0.01068, allocations: 164.5 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.01074, allocations: 19.84 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.0108, allocations: 20.33 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01081, allocations: 5.281 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01081, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01082, allocations: 0 / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.01109, allocations: 160.6 kB / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01109, allocations: 4.531 kB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.01125, allocations: 32.72 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01125, allocations: 480 / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01126, allocations: 9.562 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01127, allocations: 0 / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01127, allocations: 0 / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.01178, allocations: 392.1 kB / 0.7924 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01181, allocations: 11.91 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01183, allocations: 11.36 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.01198, allocations: 15.98 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.01204, allocations: 7.984 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.01206, allocations: 11.94 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001332/0.01219, allocations: 157.1 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01219, allocations: 0 / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002654/0.01246, allocations: 20 kB / 0.7926 GB, free: 6.148 MB / 0.7448 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.0001634/0.01262, allocations: 95.75 kB / 0.7927 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.013, allocations: 97.56 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.013, allocations: 0 / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.01319, allocations: 56.55 kB / 0.7928 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.01355, allocations: 12.84 kB / 0.7929 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.01413, allocations: 254.7 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01425, allocations: 91.12 kB / 0.7932 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.01433, allocations: 23.95 kB / 0.7932 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.01438, allocations: 12.5 kB / 0.7932 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01438, allocations: 0 / 0.7932 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.004712/0.01909, allocations: 1.255 MB / 0.7944 GB, free: 4.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.229846213012934]