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.001149/0.001149, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001344/0.001344, allocations: 170.2 kB / 24.87 MB, free: 9.199 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.027/1.027, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",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.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.303e-05, allocations: 7.312 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001705/0.001738, allocations: 0.7676 MB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.00273, allocations: 0.8748 MB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.002789, allocations: 0 / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.003028, allocations: 64.28 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.003079, allocations: 28.72 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.268e-05/0.003161, allocations: 25.58 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.003289, allocations: 91.75 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.003413, allocations: 15.92 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.003513, allocations: 55.88 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.003652, allocations: 77.06 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.003675, allocations: 8 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.003687, allocations: 8 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.003747, allocations: 44.52 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.003784, allocations: 23.92 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003912, allocations: 88.61 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003916, allocations: 0 / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003917, allocations: 0.6562 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.003921, allocations: 0 / 0.7905 GB, free: 9.992 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.0004557/0.004377, allocations: 457.6 kB / 0.7909 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004414, allocations: 15.47 kB / 0.7909 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.00445, allocations: 16.89 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004599, allocations: 146.8 kB / 0.7911 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004609, allocations: 384 / 0.7911 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.004622, allocations: 8.375 kB / 0.7911 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.00481, allocations: 114.2 kB / 0.7912 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.004817, allocations: 192 / 0.7912 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004828, allocations: 4.375 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004833, allocations: 4.375 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.004886, allocations: 20.48 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.005312, allocations: 449.5 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.005429, allocations: 74.09 kB / 0.7917 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.005473, allocations: 35.53 kB / 0.7918 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.005485, allocations: 3.938 kB / 0.7918 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.005507, allocations: 38.2 kB / 0.7918 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.005508, allocations: 0 / 0.7918 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001864/0.005694, allocations: 82.58 kB / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.005735, allocations: 85.11 kB / 0.792 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005836, allocations: 207.6 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.005849, allocations: 35.08 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.005912, allocations: 150.8 kB / 0.7924 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.005944, allocations: 27.75 kB / 0.7924 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.005985, allocations: 31.34 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004349/0.006419, allocations: 0.4928 MB / 0.7929 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.006446, allocations: 9.359 kB / 0.7929 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.006482, allocations: 27.36 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.006539, allocations: 43.3 kB / 0.793 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.006542, allocations: 4 kB / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.954e-05/0.006641, allocations: 66.28 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.006658, allocations: 15.81 kB / 0.7931 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006663, allocations: 0 / 0.7931 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.006672, allocations: 4 kB / 0.7931 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.006776, allocations: 23.98 kB / 0.7931 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.00678, allocations: 3.984 kB / 0.7931 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.006819, allocations: 8.625 kB / 0.7931 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.006825, allocations: 0.7188 kB / 0.7931 GB, free: 7.102 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 7.881e-05/0.006904, allocations: 165.7 kB / 0.7932 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.006937, allocations: 11.91 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.006975, allocations: 28.27 kB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.006979, allocations: 4 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006982, allocations: 0.5938 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006985, allocations: 1.125 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.007147, allocations: 129.2 kB / 0.7934 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007149, allocations: 0 / 0.7934 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.007217, allocations: 25.33 kB / 0.7934 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.007221, allocations: 4 kB / 0.7934 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.007229, allocations: 4.531 kB / 0.7934 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007231, allocations: 0 / 0.7934 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.007233, allocations: 5.031 kB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.007423, allocations: 335 kB / 0.7938 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.007436, allocations: 11.91 kB / 0.7938 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.00745, allocations: 4.656 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.007525, allocations: 13.08 kB / 0.7938 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.00757, allocations: 19.86 kB / 0.7938 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.007576, allocations: 4 kB / 0.7938 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.007636, allocations: 158 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.007636, allocations: 0 / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001742/0.00781, allocations: 20 kB / 0.794 GB, free: 6.125 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.0001328/0.007943, allocations: 103.8 kB / 0.7941 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.008058, allocations: 39.61 kB / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008059, allocations: 0 / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.008096, allocations: 23.67 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.008384, allocations: 14.78 kB / 0.7942 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.008772, allocations: 250 kB / 0.7944 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.008823, allocations: 67.33 kB / 0.7945 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.008859, allocations: 5.562 kB / 0.7945 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.008936, allocations: 86.19 kB / 0.7946 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.008937, allocations: 0 / 0.7946 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.003285/0.01222, allocations: 1.378 MB / 0.7959 GB, free: 4.137 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159910368267447]