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.406/1.406, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001052/0.001051, allocations: 180.1 kB / 326.5 MB, free: 2.707 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.787/1.787, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007336/0.0007334, allocations: 83.92 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 12.16 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001439/0.1959, allocations: 1.211 MB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.1963, allocations: 145.2 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.1963, allocations: 3.938 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1965, allocations: 59.84 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.1966, allocations: 27.91 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.355e-05/0.1966, allocations: 15.98 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.1967, allocations: 95.67 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1969, allocations: 20.2 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.197, allocations: 35.84 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1971, allocations: 79.78 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.1971, allocations: 4 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.1972, allocations: 4 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.1972, allocations: 31.91 kB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1973, allocations: 35.73 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1974, allocations: 87.75 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1974, allocations: 0 / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1974, allocations: 0 / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1974, allocations: 0 / 0.8986 GB, free: 66.31 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.0007355/0.1982, allocations: 474.9 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1982, allocations: 8.031 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1983, allocations: 20.75 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1984, allocations: 204 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1984, allocations: 384 / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1985, allocations: 8.375 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1988, allocations: 163.9 kB / 0.8994 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1988, allocations: 4.125 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1988, allocations: 7.938 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1989, allocations: 4 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1993, allocations: 207.8 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.2, allocations: 0.5164 MB / 0.9001 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.2004, allocations: 177.1 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.2007, allocations: 113.7 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2007, allocations: 3.984 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2007, allocations: 34.56 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2007, allocations: 0 / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008081/0.2015, allocations: 337.2 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2016, allocations: 77.11 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.2017, allocations: 165.1 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2017, allocations: 29.7 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.2017, allocations: 104.1 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2018, allocations: 31.55 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.2018, allocations: 9.719 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.2018, allocations: 326.8 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2021, allocations: 95.92 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2023, allocations: 109.6 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.2027, allocations: 209.9 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2027, allocations: 0 / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004735/0.2032, allocations: 241.4 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2033, allocations: 4 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2033, allocations: 0 / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2033, allocations: 4 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2035, allocations: 47.95 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2035, allocations: 0 / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2036, allocations: 35.95 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2036, allocations: 4 kB / 0.9022 GB, free: 62.34 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 7.284e-05/0.2037, allocations: 133.7 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.2038, allocations: 15.8 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.2038, allocations: 16.25 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2038, allocations: 0 / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2038, allocations: 4 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2038, allocations: 0 / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2041, allocations: 221.5 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2041, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2043, allocations: 47.95 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2043, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2043, allocations: 3.938 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2043, allocations: 0 / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2043, allocations: 7.938 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.2048, allocations: 418.3 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.2048, allocations: 92.95 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2049, allocations: 4 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.205, allocations: 35.95 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2051, allocations: 11.98 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.2051, allocations: 0 / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.2052, allocations: 124.1 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2052, allocations: 0 / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002402/0.2054, allocations: 20 kB / 0.9033 GB, free: 61.1 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.0001011/0.2055, allocations: 103.2 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.206, allocations: 211.7 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2061, allocations: 0 / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2063, allocations: 107.9 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2066, allocations: 8 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.2071, allocations: 313.3 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2072, allocations: 0.716 MB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.2072, allocations: 11.44 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2072, allocations: 0 / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.002225/0.2095, allocations: 1.478 MB / 0.9062 GB, free: 58.11 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)