Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001131/0.001131, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001248/0.001248, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8723/0.8723, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.85e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001401/0.00143, allocations: 0.7534 MB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.002212, allocations: 0.8471 MB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.00226, allocations: 11.88 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.002442, allocations: 55.78 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.002484, allocations: 35.84 kB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.007e-05/0.002554, allocations: 23.95 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.002666, allocations: 91.69 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.00278, allocations: 15.98 kB / 0.9841 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.00286, allocations: 59.81 kB / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.002977, allocations: 75.84 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.003005, allocations: 8 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.003016, allocations: 8 kB / 0.9842 GB, free: 28 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.003083, allocations: 39.89 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.003116, allocations: 27.92 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003242, allocations: 127.5 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003244, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003245, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003249, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 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.0005153/0.003764, allocations: 385.7 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.003798, allocations: 12.03 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.003832, allocations: 16.84 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.003976, allocations: 145.6 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003987, allocations: 8.312 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.003999, allocations: 4.375 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.00425, allocations: 155.8 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004258, allocations: 192 / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004269, allocations: 384 / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004273, allocations: 384 / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.004544, allocations: 175.8 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.005022, allocations: 436.5 kB / 0.9857 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.005264, allocations: 169.1 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.005398, allocations: 93.72 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.005411, allocations: 0 / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.005434, allocations: 38.5 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.005435, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.005936, allocations: 285.3 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.005972, allocations: 77.11 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.006066, allocations: 168.2 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006078, allocations: 33.7 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.006124, allocations: 104.1 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.00615, allocations: 27.75 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.006184, allocations: 17.72 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.006259, allocations: 322.8 kB / 0.9869 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.006387, allocations: 75.92 kB / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.006519, allocations: 105.5 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.006769, allocations: 169.6 kB / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006771, allocations: 0 / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002916/0.007063, allocations: 217.3 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.007075, allocations: 4 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.00708, allocations: 0 / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.007093, allocations: 4 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.007205, allocations: 31.95 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.007211, allocations: 4 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.007276, allocations: 31.95 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.007283, allocations: 4 kB / 0.9876 GB, free: 12.37 MB / 0.948 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 6.786e-05/0.007351, allocations: 122.5 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.007381, allocations: 23.81 kB / 0.9877 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.00741, allocations: 16.34 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007412, allocations: 4.406 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007416, allocations: 0 / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.007419, allocations: 4 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.007579, allocations: 157.2 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00758, allocations: 4 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.007658, allocations: 35.95 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.007661, allocations: 3.984 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.00767, allocations: 11.94 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007671, allocations: 0 / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007672, allocations: 0 / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.008003, allocations: 382.6 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.008013, allocations: 11.91 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.008025, allocations: 3.938 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.008119, allocations: 27.95 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.008163, allocations: 11.98 kB / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.008167, allocations: 0 / 0.9883 GB, free: 11.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.008222, allocations: 126.1 kB / 0.9885 GB, free: 11.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008222, allocations: 0 / 0.9885 GB, free: 11.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001776/0.0084, allocations: 16 kB / 0.9885 GB, free: 11.38 MB / 0.948 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 8.381e-05/0.008483, allocations: 99.25 kB / 0.9886 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.008782, allocations: 175.8 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008783, allocations: 0 / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.008918, allocations: 91.92 kB / 0.9888 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.009158, allocations: 16.11 kB / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.00953, allocations: 291.9 kB / 0.9891 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.859e-05/0.009599, allocations: 96.31 kB / 0.9892 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.009645, allocations: 16.5 kB / 0.9892 GB, free: 10.53 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.009645, allocations: 0 / 0.9892 GB, free: 10.53 MB / 0.948 GB Notification: Performance of Templates: time 0.001975/0.01162, allocations: 1.537 MB / 0.9907 GB, free: 9.004 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.870563448406756]