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.356/1.356, allocations: 252 MB / 267.6 MB, free: 10.9 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.001027/0.001027, allocations: 170.9 kB / 327.3 MB, free: 2.207 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.846/1.846, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0006867/0.0006867, allocations: 99.56 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004, allocations: 13.06 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 106.4 MB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001478/0.2091, allocations: 1.184 MB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002976/0.2094, allocations: 148.4 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.2095, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.2096, allocations: 63.86 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.2097, allocations: 27.89 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.645e-05/0.2098, allocations: 11.98 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.2099, allocations: 75.75 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.21, allocations: 27.92 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.21, allocations: 31.84 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2102, allocations: 75.78 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.2102, allocations: 0 / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.2102, allocations: 4 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.2103, allocations: 35.91 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.2103, allocations: 37.64 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.2104, allocations: 83.81 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2104, allocations: 4 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2104, allocations: 0 / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2104, allocations: 0 / 0.9026 GB, free: 62.06 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.0006552/0.2111, allocations: 467 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2111, allocations: 8.031 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2111, allocations: 15.81 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2113, allocations: 198.8 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2113, allocations: 4 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2114, allocations: 8 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.2117, allocations: 167.2 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2118, allocations: 4 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2118, allocations: 0 / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2118, allocations: 4 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.2123, allocations: 199.8 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.213, allocations: 0.5242 MB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.2134, allocations: 185 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.2136, allocations: 105.7 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2136, allocations: 4 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2137, allocations: 38.55 kB / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2137, allocations: 0 / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008308/0.2145, allocations: 333.5 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2145, allocations: 85.06 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2147, allocations: 161.1 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.2147, allocations: 29.7 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2147, allocations: 104.1 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.2148, allocations: 31.5 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.2148, allocations: 0 / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.2148, allocations: 326.8 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.2151, allocations: 91.92 kB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2153, allocations: 109.6 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2155, allocations: 103.9 kB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2156, allocations: 0 / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004996/0.2161, allocations: 237.4 kB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2161, allocations: 4 kB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2161, allocations: 0 / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2161, allocations: 8 kB / 0.906 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2164, allocations: 43.89 kB / 0.9061 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2164, allocations: 3.953 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2165, allocations: 39.97 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2165, allocations: 3.984 kB / 0.9061 GB, free: 58.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.2166, allocations: 121.8 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.2167, allocations: 15.81 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2167, allocations: 20.23 kB / 0.9063 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2167, allocations: 4 kB / 0.9063 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2167, allocations: 0 / 0.9063 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2167, allocations: 3.953 kB / 0.9063 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.217, allocations: 225.5 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.217, allocations: 4 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.2171, allocations: 43.95 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2172, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2172, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2172, allocations: 7.938 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2172, allocations: 0 / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.2177, allocations: 414.5 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.2178, allocations: 84.92 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2178, allocations: 4 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.218, allocations: 39.95 kB / 0.9071 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.218, allocations: 11.92 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.218, allocations: 0 / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.2181, allocations: 128.1 kB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.91e-07/0.2181, allocations: 0 / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002486/0.2184, allocations: 23.94 kB / 0.9072 GB, free: 57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.2185, allocations: 111.1 kB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.219, allocations: 195.8 kB / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.219, allocations: 0 / 0.9075 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.2193, allocations: 111.9 kB / 0.9076 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2196, allocations: 12 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.2201, allocations: 308 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.2203, allocations: 0.7146 MB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.2203, allocations: 11.44 kB / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2203, allocations: 0 / 0.9086 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002371/0.2227, allocations: 1.491 MB / 0.9101 GB, free: 54 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)