Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001065, allocations: 180.8 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008055/0.0008055, allocations: 91.72 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 12.09 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2019, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001353/0.2033, allocations: 1.207 MB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.2036, allocations: 136.5 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.2036, allocations: 7.938 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.2038, allocations: 63.78 kB / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.2038, allocations: 35.89 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.786e-05/0.2039, allocations: 11.98 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.204, allocations: 83.81 kB / 0.903 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2041, allocations: 23.88 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.2042, allocations: 39.83 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2043, allocations: 75.78 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2043, allocations: 4 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2044, allocations: 4 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.2044, allocations: 31.91 kB / 0.9032 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.2045, allocations: 61.44 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.2045, allocations: 87.75 kB / 0.9033 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2046, allocations: 0 / 0.9033 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2046, allocations: 4 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2046, allocations: 4 kB / 0.9033 GB, free: 61.62 MB / 0.6042 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.000589/0.2052, allocations: 459.3 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2052, allocations: 12.03 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2052, allocations: 16.75 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2054, allocations: 204 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.2054, allocations: 384 / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2054, allocations: 4.375 kB / 0.904 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.2058, allocations: 167.8 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2058, allocations: 192 / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2058, allocations: 3.938 kB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2058, allocations: 7.984 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.2063, allocations: 203.8 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.2069, allocations: 0.5204 MB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.2073, allocations: 185 kB / 0.905 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.2076, allocations: 105.7 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.2076, allocations: 8 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.2076, allocations: 30.56 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.2076, allocations: 4 kB / 0.9052 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0007968/0.2084, allocations: 337.2 kB / 0.9055 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2084, allocations: 81.11 kB / 0.9056 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.2085, allocations: 157.1 kB / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2086, allocations: 29.7 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2086, allocations: 100.1 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2086, allocations: 31.55 kB / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.2086, allocations: 0 / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.2087, allocations: 334.8 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.2089, allocations: 87.92 kB / 0.9063 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2092, allocations: 117.6 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.2096, allocations: 209.9 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2096, allocations: 0 / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004941/0.2101, allocations: 241.4 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2102, allocations: 10.5 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2102, allocations: 0 / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2102, allocations: 0 / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.2104, allocations: 43.95 kB / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2104, allocations: 0 / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2105, allocations: 35.97 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2105, allocations: 8 kB / 0.9069 GB, free: 57.68 MB / 0.6042 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.586e-05/0.2106, allocations: 129.7 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.2107, allocations: 15.81 kB / 0.907 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.2107, allocations: 24.23 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2107, allocations: 0 / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2107, allocations: 4 kB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2107, allocations: 3.938 kB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2109, allocations: 233.5 kB / 0.9073 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2109, allocations: 0 / 0.9073 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.2111, allocations: 39.95 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2111, allocations: 4 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2112, allocations: 0 / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2112, allocations: 4 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2112, allocations: 0 / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.2117, allocations: 414.4 kB / 0.9077 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.2117, allocations: 93 kB / 0.9078 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2118, allocations: 0 / 0.9078 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2119, allocations: 31.97 kB / 0.9079 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.212, allocations: 15.92 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.212, allocations: 0 / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.2121, allocations: 128.1 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2121, allocations: 4 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002406/0.2123, allocations: 16 kB / 0.908 GB, free: 56.44 MB / 0.6042 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.000114/0.2125, allocations: 107.2 kB / 0.9081 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.213, allocations: 199.7 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.213, allocations: 4 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.2132, allocations: 107.9 kB / 0.9084 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2136, allocations: 22.98 kB / 0.9084 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.214, allocations: 316.5 kB / 0.9087 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2141, allocations: 0.7063 MB / 0.9094 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.2142, allocations: 15.38 kB / 0.9094 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2142, allocations: 0 / 0.9094 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002252/0.2164, allocations: 1.47 MB / 0.9109 GB, free: 53.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)