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.381/1.381, allocations: 252 MB / 267.3 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.000994/0.0009941, allocations: 180.5 kB / 327 MB, free: 2.117 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.708/1.708, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007563/0.0007563, allocations: 85.88 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 12.28 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001503/0.2293, allocations: 1.207 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000305/0.2296, allocations: 144.4 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.2297, allocations: 7.938 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2299, allocations: 55.84 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.2299, allocations: 35.89 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.23, allocations: 11.98 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.2301, allocations: 83.77 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2303, allocations: 27.91 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.2303, allocations: 35.84 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2305, allocations: 71.8 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.2305, allocations: 8 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.2305, allocations: 4 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.2306, allocations: 39.88 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.2306, allocations: 61.44 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2308, allocations: 107.6 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2308, allocations: 0 / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2308, allocations: 0 / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2308, allocations: 0 / 0.9028 GB, free: 61.49 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.0006769/0.2315, allocations: 459.4 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2315, allocations: 12.03 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.2316, allocations: 38.73 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.2316, allocations: 12.75 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2318, allocations: 208 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2318, allocations: 4.375 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2318, allocations: 12.31 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2322, allocations: 159.9 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2322, allocations: 3.938 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2322, allocations: 4 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2322, allocations: 7.969 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.2327, allocations: 199.8 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.2334, allocations: 0.5242 MB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.2338, allocations: 181.1 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.2341, allocations: 113.7 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2341, allocations: 3.938 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2341, allocations: 30.56 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2341, allocations: 0 / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008309/0.235, allocations: 337.3 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.235, allocations: 81.11 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.2351, allocations: 161.1 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2352, allocations: 29.64 kB / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2352, allocations: 104.1 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2352, allocations: 27.55 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.2353, allocations: 4 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.2353, allocations: 326.8 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2356, allocations: 95.92 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.2358, allocations: 105.6 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.2363, allocations: 205.6 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2363, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005021/0.2368, allocations: 241.4 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2368, allocations: 4 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2368, allocations: 0 / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2368, allocations: 4 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.237, allocations: 43.95 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2371, allocations: 3.938 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2372, allocations: 40.34 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2372, allocations: 4 kB / 0.9064 GB, free: 57.5 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.893e-05/0.2373, allocations: 133.7 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.2374, allocations: 7.906 kB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.2374, allocations: 24.23 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2374, allocations: 3.984 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2374, allocations: 4 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2374, allocations: 0 / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.2377, allocations: 225.5 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2377, allocations: 8 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2379, allocations: 43.95 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2379, allocations: 0 / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2379, allocations: 0 / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2379, allocations: 4 kB / 0.9069 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2379, allocations: 0 / 0.9069 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.2385, allocations: 422.4 kB / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.2386, allocations: 85 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2386, allocations: 4 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2388, allocations: 35.97 kB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.2389, allocations: 7.984 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2389, allocations: 0 / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.054e-05/0.239, allocations: 132 kB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.239, allocations: 0 / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002698/0.2392, allocations: 20 kB / 0.9075 GB, free: 56.27 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.0008237/0.2401, allocations: 0.9458 MB / 0.9085 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.2406, allocations: 199.8 kB / 0.9086 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2406, allocations: 3.938 kB / 0.9086 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.2409, allocations: 107.9 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2412, allocations: 12.89 kB / 0.9088 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.2435, allocations: 2.087 MB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2437, allocations: 0.7139 MB / 0.9115 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.419e-05/0.2438, allocations: 23.97 kB / 0.9115 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.2439, allocations: 31.42 kB / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2439, allocations: 4 kB / 0.9116 GB, free: 52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.2555, allocations: 2.276 MB / 0.9138 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2557, allocations: 223.5 kB / 0.914 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.033, allocations: 64 / 0.914 GB, free: 49.64 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)