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.0007314/0.0007314, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004349/0.004349, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.642/1.642, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004978/0.0004977, allocations: 16.34 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009869/0.2003, allocations: 0.4945 MB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.2013, allocations: 0.8242 MB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.2014, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2016, allocations: 59.84 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.2016, allocations: 31.89 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.157e-05/0.2017, allocations: 19.97 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2018, allocations: 83.7 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.202, allocations: 19.98 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.2021, allocations: 35.91 kB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2023, allocations: 75.78 kB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2023, allocations: 4 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.2023, allocations: 4 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.2024, allocations: 31.91 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.2025, allocations: 69.36 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.2026, allocations: 107.9 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2026, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2026, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2026, allocations: 0 / 0.7898 GB, free: 9.578 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.0006899/0.2033, allocations: 474.9 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2034, allocations: 8.031 kB / 0.7903 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.2034, allocations: 38.69 kB / 0.7903 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2035, allocations: 12.83 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2037, allocations: 206.9 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.2037, allocations: 384 / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2037, allocations: 8.359 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2041, allocations: 167.9 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2041, allocations: 3.938 kB / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2041, allocations: 0 / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2042, allocations: 4 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.2048, allocations: 207.8 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.2056, allocations: 0.5203 MB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.2061, allocations: 181.1 kB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.2064, allocations: 106.8 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2064, allocations: 4 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2065, allocations: 38.5 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2065, allocations: 4 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0009389/0.2074, allocations: 329.4 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2075, allocations: 81.05 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2076, allocations: 158.2 kB / 0.7923 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2077, allocations: 29.7 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.2077, allocations: 108 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.2078, allocations: 23.7 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.2078, allocations: 17.72 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2079, allocations: 326.8 kB / 0.7928 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2082, allocations: 95.92 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.2085, allocations: 101.6 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.209, allocations: 205.6 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.209, allocations: 3.938 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005956/0.2096, allocations: 249.7 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2096, allocations: 4 kB / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2096, allocations: 0 / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2097, allocations: 96 / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2099, allocations: 47.89 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2099, allocations: 0 / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.21, allocations: 43.89 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2101, allocations: 4 kB / 0.7935 GB, free: 5.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.741e-05/0.2102, allocations: 132 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.2102, allocations: 7.906 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.2103, allocations: 24.23 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2103, allocations: 0 / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2103, allocations: 11.94 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2103, allocations: 0 / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.2106, allocations: 229.4 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2106, allocations: 0 / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2108, allocations: 43.95 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2108, allocations: 0 / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2108, allocations: 0 / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2108, allocations: 8.156 kB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2108, allocations: 7.938 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.2115, allocations: 410.5 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.2115, allocations: 92.91 kB / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2115, allocations: 4 kB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2117, allocations: 31.97 kB / 0.7944 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2118, allocations: 7.984 kB / 0.7944 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2118, allocations: 0 / 0.7944 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.358e-05/0.2119, allocations: 127.2 kB / 0.7946 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2119, allocations: 0 / 0.7946 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002721/0.2122, allocations: 23.92 kB / 0.7946 GB, free: 4.328 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 (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.0009235/0.2131, allocations: 0.9458 MB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.2137, allocations: 203.8 kB / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2138, allocations: 0 / 0.7957 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.214, allocations: 107.9 kB / 0.7958 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2144, allocations: 8 kB / 0.7958 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.2171, allocations: 2.067 MB / 0.7978 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2174, allocations: 0.708 MB / 0.7985 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.749e-05/0.2175, allocations: 31.97 kB / 0.7986 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.2176, allocations: 31.42 kB / 0.7986 GB, free: 88 kB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2176, allocations: 0 / 0.7986 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4621/0.6797, allocations: 2.272 MB / 0.8008 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.68, allocations: 214.5 kB / 0.801 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.307, allocations: 0 / 0.801 GB, free: 13.69 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/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)