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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 252 MB / 267 MB, free: 10.98 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.001093/0.001092, allocations: 186.1 kB / 326.6 MB, free: 2.246 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.739/1.739, allocations: 205.4 MB / 0.5777 GB, free: 20.32 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.000753/0.0007532, allocations: 94.23 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003663, allocations: 13.12 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001572/0.2241, allocations: 1.196 MB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.2245, allocations: 144.4 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.2246, allocations: 0 / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.2248, allocations: 55.86 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2248, allocations: 35.83 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.363e-05/0.2249, allocations: 15.98 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.225, allocations: 75.75 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2251, allocations: 19.92 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.2252, allocations: 35.89 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2253, allocations: 71.8 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.2254, allocations: 4 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.2254, allocations: 4 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.2255, allocations: 27.91 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2255, allocations: 37.64 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.681e-05/0.2256, allocations: 91.81 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2256, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2256, allocations: 0 / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2256, allocations: 0 / 0.9021 GB, free: 61.98 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.0008292/0.2264, allocations: 463.1 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2265, allocations: 15.97 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.2266, allocations: 38.56 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.2266, allocations: 11.81 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2268, allocations: 202.8 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2268, allocations: 0 / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.2268, allocations: 8 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.2273, allocations: 163.3 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2273, allocations: 3.984 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2273, allocations: 4 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2273, allocations: 4 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.2278, allocations: 203.8 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.2286, allocations: 0.5165 MB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.229, allocations: 181.1 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2293, allocations: 113.7 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2293, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2293, allocations: 34.56 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2293, allocations: 0 / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008419/0.2302, allocations: 341.2 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2302, allocations: 81.06 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2303, allocations: 161.1 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2303, allocations: 25.7 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.2304, allocations: 100.1 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2304, allocations: 31.5 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.2304, allocations: 7.938 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.2305, allocations: 326.8 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2307, allocations: 91.92 kB / 0.9051 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.231, allocations: 109.6 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.2312, allocations: 99.92 kB / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2312, allocations: 0 / 0.9053 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004973/0.2317, allocations: 233.4 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2318, allocations: 8 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2318, allocations: 0 / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2318, allocations: 3.984 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.232, allocations: 43.97 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.232, allocations: 7.953 kB / 0.9056 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2322, allocations: 35.86 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2322, allocations: 4 kB / 0.9056 GB, free: 58.11 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 8.469e-05/0.2323, allocations: 125.8 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2324, allocations: 12.38 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.2324, allocations: 20.25 kB / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2324, allocations: 0 / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2324, allocations: 0 / 0.9058 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.2324, allocations: 15.86 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2327, allocations: 229.5 kB / 0.906 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2327, allocations: 0 / 0.906 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2328, allocations: 39.91 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2329, allocations: 11.98 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2329, allocations: 4 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2329, allocations: 0 / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2329, allocations: 0 / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.2334, allocations: 414.5 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.2335, allocations: 85.02 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2335, allocations: 4 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.2337, allocations: 31.95 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.2337, allocations: 11.92 kB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2338, allocations: 12 kB / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.2338, allocations: 120.1 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.51e-07/0.2338, allocations: 0 / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002358/0.2341, allocations: 27.89 kB / 0.9067 GB, free: 56.87 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.0007632/0.2348, allocations: 0.9381 MB / 0.9076 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2354, allocations: 203.8 kB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2354, allocations: 4 kB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.2356, allocations: 107.9 kB / 0.9079 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.236, allocations: 15.38 kB / 0.908 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2375, allocations: 0.9671 MB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2377, allocations: 0.7149 MB / 0.9096 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.966e-05/0.2378, allocations: 31.95 kB / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.2379, allocations: 27.44 kB / 0.9097 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2379, allocations: 0 / 0.9097 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.2508, allocations: 2.28 MB / 0.9119 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.251, allocations: 204.4 kB / 0.9121 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.029, allocations: 3.938 kB / 0.9121 GB, free: 51.42 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)