Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.715/2.715, allocations: 287.5 MB / 302.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001525, allocations: 181.9 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.471/2.471, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 85 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 18.12 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009272/0.209, allocations: 474.8 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.21, allocations: 0.836 MB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.21, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2102, allocations: 51.88 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.2103, allocations: 39.81 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/0.2104, allocations: 11.98 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2105, allocations: 71.77 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2106, allocations: 19.98 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.2107, allocations: 31.91 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2109, allocations: 75.77 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2109, allocations: 4 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.211, allocations: 4 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.211, allocations: 31.91 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.2111, allocations: 37.64 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2112, allocations: 87.81 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2112, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2112, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2112, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 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.0008594/0.2121, allocations: 471 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2121, allocations: 16.02 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.2122, allocations: 34.55 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.2122, allocations: 11.91 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.2124, allocations: 200.1 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2125, allocations: 8 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2125, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.2131, allocations: 171.2 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2131, allocations: 4 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2131, allocations: 0 / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2131, allocations: 0 / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/0.214, allocations: 203.8 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2151, allocations: 0.5204 MB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.2158, allocations: 185 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.2162, allocations: 101.7 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2163, allocations: 8 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2163, allocations: 42.55 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.607e-06/0.2163, allocations: 0 / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001465/0.2178, allocations: 337.4 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2179, allocations: 81.06 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.218, allocations: 166.2 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.218, allocations: 29.7 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.2181, allocations: 108 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2182, allocations: 23.7 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.2182, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.2182, allocations: 326.8 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.2187, allocations: 95.86 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.2191, allocations: 105.6 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.2196, allocations: 95.92 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2196, allocations: 0 / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009375/0.2206, allocations: 241.3 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2206, allocations: 7.938 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2206, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2206, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.221, allocations: 47.95 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.221, allocations: 3.953 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.2213, allocations: 35.91 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2213, allocations: 8 kB / 0.9837 GB, free: 22.58 MB / 0.6198 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 0.0001033/0.2214, allocations: 125.8 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.2215, allocations: 11.91 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.2215, allocations: 20.23 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2216, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2216, allocations: 4 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2216, allocations: 3.953 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.2219, allocations: 225.5 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2219, allocations: 0 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.2223, allocations: 51.89 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2223, allocations: 0 / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2223, allocations: 0 / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2223, allocations: 4 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2223, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.2233, allocations: 414.7 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.2234, allocations: 81.02 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2234, allocations: 4 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.2237, allocations: 43.89 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.2238, allocations: 11.92 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2238, allocations: 3.938 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.883e-05/0.2239, allocations: 123.2 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2239, allocations: 0 / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003543/0.2243, allocations: 27.86 kB / 0.9848 GB, free: 21.36 MB / 0.6198 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.0012/0.2255, allocations: 0.9428 MB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009328/0.2265, allocations: 204.1 kB / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2265, allocations: 0 / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.227, allocations: 112 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2275, allocations: 11.98 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.23, allocations: 0.9599 MB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2302, allocations: 0.7158 MB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.2303, allocations: 23.97 kB / 0.9877 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.2304, allocations: 31.42 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2304, allocations: 0 / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.2545, allocations: 2.281 MB / 0.99 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.2548, allocations: 191.8 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/2.669, allocations: 0 / 0.9902 GB, free: 15.89 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)