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.00155/0.00155, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001781/0.001781, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.732/2.732, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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.725e-06/2.725e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.335e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002254/0.002288, allocations: 0.7509 MB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003647, allocations: 0.8561 MB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.003713, allocations: 7.938 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.003968, allocations: 55.84 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.004051, allocations: 36.39 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.004156, allocations: 21.31 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.004331, allocations: 91.69 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.00448, allocations: 23.86 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.004628, allocations: 55.88 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.004801, allocations: 76.95 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.004831, allocations: 8 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.004852, allocations: 9.438 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.004932, allocations: 39.84 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.004994, allocations: 23.92 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.005196, allocations: 119.7 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005199, allocations: 0.5938 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.0052, allocations: 0.5312 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.005207, allocations: 0 / 0.7886 GB, free: 10.55 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.0009165/0.006123, allocations: 392.2 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.006161, allocations: 8.031 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.006225, allocations: 13.86 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.006474, allocations: 157.4 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.006487, allocations: 4.375 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.006505, allocations: 5.125 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.006956, allocations: 158.3 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.00697, allocations: 4.172 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.00699, allocations: 4.375 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.006995, allocations: 384 / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.007581, allocations: 178 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.008503, allocations: 431.5 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.00897, allocations: 161.1 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.009268, allocations: 91.61 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.009287, allocations: 0 / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.009337, allocations: 46.48 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.009337, allocations: 1.156 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0009882/0.01033, allocations: 284.4 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.01041, allocations: 81.11 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.0106, allocations: 165.5 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.01063, allocations: 29.69 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.01072, allocations: 96.14 kB / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.01077, allocations: 35.72 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.01083, allocations: 26.88 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.01103, allocations: 326.8 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.0113, allocations: 77.77 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.01158, allocations: 88.14 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.0121, allocations: 169.6 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0121, allocations: 0.5 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006368/0.01274, allocations: 220.2 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01276, allocations: 6.594 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01277, allocations: 0 / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.01279, allocations: 4 kB / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.01301, allocations: 31.95 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.01302, allocations: 4 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01317, allocations: 28.88 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01318, allocations: 4 kB / 0.7917 GB, free: 7.109 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.0001521/0.01334, allocations: 130.5 kB / 0.7919 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.01341, allocations: 27.83 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.01346, allocations: 21.58 kB / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.01347, allocations: 4 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01348, allocations: 0 / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01348, allocations: 0.8438 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.01403, allocations: 153.3 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01404, allocations: 0.7188 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.01424, allocations: 39.11 kB / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01424, allocations: 0 / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01426, allocations: 7.875 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01426, allocations: 0 / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01426, allocations: 0 / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.01499, allocations: 388.9 kB / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.01502, allocations: 11.91 kB / 0.7925 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.01504, allocations: 3.938 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.01526, allocations: 28.95 kB / 0.7925 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.01533, allocations: 7.984 kB / 0.7925 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.01534, allocations: 5.125 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01545, allocations: 121.2 kB / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01545, allocations: 0 / 0.7927 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002907/0.01574, allocations: 21.06 kB / 0.7927 GB, free: 6.109 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.0001615/0.01591, allocations: 98.06 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006285/0.01653, allocations: 169.9 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01654, allocations: 4 kB / 0.7929 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.01684, allocations: 89.05 kB / 0.793 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.01725, allocations: 21.14 kB / 0.793 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.01791, allocations: 266.2 kB / 0.7933 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.01806, allocations: 108.3 kB / 0.7934 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.01816, allocations: 23.97 kB / 0.7934 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.01822, allocations: 12.5 kB / 0.7934 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01822, allocations: 0 / 0.7934 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.00503/0.02325, allocations: 1.251 MB / 0.7947 GB, free: 4.059 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] 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: 7.759467156953178]