Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001628, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004572, allocations: 14.94 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.000779/0.2163, allocations: 490.5 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.2171, allocations: 0.8166 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.2172, allocations: 0 / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2173, allocations: 55.86 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.2174, allocations: 39.88 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.497e-05/0.2174, allocations: 11.98 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.8e-05/0.2175, allocations: 59.84 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.2176, allocations: 12 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.2177, allocations: 35.89 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2178, allocations: 75.78 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2179, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2179, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.2179, allocations: 31.91 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.218, allocations: 37.64 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.667e-05/0.2181, allocations: 91.75 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2181, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2181, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2181, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.6075 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.0006515/0.2187, allocations: 467 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2188, allocations: 12.03 kB / 0.7894 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.2188, allocations: 38.55 kB / 0.7894 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2189, allocations: 7.906 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.219, allocations: 206.1 kB / 0.7896 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2191, allocations: 4 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2191, allocations: 4 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.2195, allocations: 167.2 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2195, allocations: 0 / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2195, allocations: 4 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2195, allocations: 0 / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.22, allocations: 203.8 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.2208, allocations: 0.5203 MB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.2212, allocations: 193 kB / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.2212, allocations: 0 / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2212, allocations: 30.56 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2212, allocations: 4 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008738/0.2221, allocations: 333.4 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2222, allocations: 81.11 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2223, allocations: 158.2 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2223, allocations: 29.7 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2224, allocations: 112 kB / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2224, allocations: 19.7 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2224, allocations: 8 kB / 0.7914 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.2225, allocations: 322.8 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.2228, allocations: 91.92 kB / 0.7918 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.2231, allocations: 101.6 kB / 0.7919 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.2233, allocations: 99.92 kB / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2233, allocations: 0 / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005398/0.2239, allocations: 249.3 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2239, allocations: 4 kB / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2239, allocations: 0 / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2239, allocations: 4 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2242, allocations: 47.95 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2242, allocations: 3.938 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2243, allocations: 39.86 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.2243, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.6075 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 9.387e-05/0.2244, allocations: 129.8 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.2245, allocations: 15.84 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.2245, allocations: 20.23 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2245, allocations: 4 kB / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2245, allocations: 0 / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2246, allocations: 0 / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.2248, allocations: 225.5 kB / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2248, allocations: 0 / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.225, allocations: 51.95 kB / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.225, allocations: 0 / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2251, allocations: 4 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2251, allocations: 0 / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2251, allocations: 3.938 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.2257, allocations: 433.8 kB / 0.7932 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.2258, allocations: 85.02 kB / 0.7933 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2258, allocations: 0 / 0.7933 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.226, allocations: 27.97 kB / 0.7933 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.2261, allocations: 19.97 kB / 0.7933 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.2261, allocations: 4 kB / 0.7933 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.2262, allocations: 128.9 kB / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2262, allocations: 0 / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002721/0.2265, allocations: 19.91 kB / 0.7935 GB, free: 5.09 MB / 0.6075 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.0009674/0.2275, allocations: 1.024 MB / 0.7945 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.228, allocations: 203.8 kB / 0.7947 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.228, allocations: 0 / 0.7947 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.2283, allocations: 103.9 kB / 0.7948 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2286, allocations: 19.94 kB / 0.7948 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2304, allocations: 1.086 MB / 0.7959 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2307, allocations: 0.7197 MB / 0.7966 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.4e-05/0.2308, allocations: 23.97 kB / 0.7966 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.2309, allocations: 31.42 kB / 0.7966 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.2309, allocations: 0 / 0.7966 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.428/2.658, allocations: 2.263 MB / 0.7988 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.659, allocations: 205.4 kB / 0.799 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/5.262, allocations: 0 / 0.799 GB, free: 15.4 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) Environment - environmentSimulation: