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 3.348/3.348, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001678/0.001678, allocations: 186.5 kB / 370.8 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.249/2.249, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.002119/0.002119, allocations: 88.14 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 13.59 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009308/0.2084, allocations: 474.9 kB / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2095, allocations: 0.8243 MB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2096, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.2098, allocations: 47.86 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.2099, allocations: 39.94 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.127e-05/0.21, allocations: 11.98 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2101, allocations: 55.86 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2102, allocations: 19.98 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.2103, allocations: 31.89 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2104, allocations: 71.8 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.2105, allocations: 4 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.2105, allocations: 4 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.2106, allocations: 35.89 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.2106, allocations: 37.64 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2108, allocations: 79.83 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2108, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2108, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2108, allocations: 0 / 0.98 GB, free: 26.53 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.0009306/0.2117, allocations: 471 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2118, allocations: 16.02 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.2118, allocations: 38.56 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2119, allocations: 15.84 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2121, allocations: 200.1 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2121, allocations: 8 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2122, allocations: 4 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.2128, allocations: 163.3 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2128, allocations: 4 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2128, allocations: 0 / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2129, allocations: 3.984 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.2138, allocations: 207.8 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2149, allocations: 0.5203 MB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.2156, allocations: 189.1 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2156, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2156, allocations: 30.56 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.2156, allocations: 4 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001485/0.2171, allocations: 337.3 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2172, allocations: 85.06 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2174, allocations: 158.2 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2174, allocations: 29.7 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.2175, allocations: 108 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.2175, allocations: 27.64 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.2175, allocations: 4 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.2176, allocations: 322.8 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.2181, allocations: 87.92 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.2185, allocations: 113.6 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.219, allocations: 99.92 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.219, allocations: 0 / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009553/0.22, allocations: 237.3 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.22, allocations: 6.188 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.22, allocations: 0 / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.22, allocations: 7.984 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.2204, allocations: 43.97 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2204, allocations: 3.953 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.2207, allocations: 39.89 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2207, allocations: 0 / 0.9834 GB, free: 22.75 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.0001263/0.2209, allocations: 129.8 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.2209, allocations: 7.906 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/0.221, allocations: 20.25 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.221, allocations: 4 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2211, allocations: 0 / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2211, allocations: 8.406 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.2214, allocations: 225.5 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2214, allocations: 4 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.2218, allocations: 47.84 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2218, allocations: 3.984 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2218, allocations: 8 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2218, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2219, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.2229, allocations: 424.2 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2229, allocations: 85.02 kB / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2229, allocations: 0 / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.2233, allocations: 35.89 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.2234, allocations: 23.88 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2234, allocations: 4 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001105/0.2235, allocations: 119.2 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2236, allocations: 0 / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003681/0.2239, allocations: 19.91 kB / 0.9845 GB, free: 21.51 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.001261/0.2252, allocations: 1.016 MB / 0.9855 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009621/0.2262, allocations: 211.8 kB / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2262, allocations: 4 kB / 0.9857 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.2267, allocations: 103.9 kB / 0.9858 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2271, allocations: 15.95 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2297, allocations: 1.087 MB / 0.9869 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.23, allocations: 0.7197 MB / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.2302, allocations: 23.97 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.2303, allocations: 31.42 kB / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2303, allocations: 0 / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2543, allocations: 2.269 MB / 0.9899 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.2546, allocations: 199.6 kB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/2.739, allocations: 0 / 0.9901 GB, free: 15.82 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)