Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001097/0.001097, allocations: 187.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0008832/0.0008831, allocations: 93.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004141, allocations: 14.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9184/1.154, allocations: 137.6 MB / 1.114 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.155, allocations: 72.95 kB / 1.114 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004744/1.159, allocations: 1.414 MB / 1.115 GB, free: 32.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.684e-06/1.16, allocations: 0 / 1.115 GB, free: 32.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.16, allocations: 3.844 kB / 1.115 GB, free: 32.17 MB / 0.698 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.0008077/1.16, allocations: 476.6 kB / 1.116 GB, free: 31.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.16, allocations: 15.58 kB / 1.116 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/1.161, allocations: 38.25 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/1.161, allocations: 11.78 kB / 1.116 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/1.161, allocations: 208.1 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/1.161, allocations: 4.688 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/1.161, allocations: 3.781 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/1.161, allocations: 171 kB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.161, allocations: 0 / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.161, allocations: 0 / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.161, allocations: 0 / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/1.162, allocations: 215.7 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/1.163, allocations: 0.5135 MB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/1.163, allocations: 183.1 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/1.163, allocations: 0 / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.163, allocations: 37.94 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/1.163, allocations: 0 / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000877/1.164, allocations: 335.2 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.164, allocations: 84.61 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.164, allocations: 148 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.164, allocations: 25.7 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/1.164, allocations: 112 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/1.164, allocations: 25.42 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.164, allocations: 4 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.165, allocations: 321.2 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/1.165, allocations: 95.75 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/1.165, allocations: 107.9 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/1.165, allocations: 100.2 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.165, allocations: 0 / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004868/1.166, allocations: 238.4 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.166, allocations: 7.688 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.166, allocations: 0 / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.166, allocations: 0 / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/1.166, allocations: 50.34 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.166, allocations: 0 / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/1.166, allocations: 42.45 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.166, allocations: 3.953 kB / 1.119 GB, free: 30.21 MB / 0.698 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.0001102/1.166, allocations: 127.4 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.166, allocations: 11.81 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/1.167, allocations: 25.72 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.167, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.167, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.167, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.167, allocations: 229.3 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.167, allocations: 2.859 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.167, allocations: 45.84 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.167, allocations: 7.875 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.167, allocations: 3.375 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.167, allocations: 3.75 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.167, allocations: 0 / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/1.168, allocations: 422.3 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/1.168, allocations: 89.2 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/1.168, allocations: 1.312 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/1.168, allocations: 40.02 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/1.168, allocations: 10.22 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/1.168, allocations: 5.062 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.184e-05/1.168, allocations: 118.5 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/1.168, allocations: 0 / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002687/1.169, allocations: 26.83 kB / 1.12 GB, free: 29.45 MB / 0.698 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.0009733/1.169, allocations: 1.028 MB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005437/1.17, allocations: 206.4 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.17, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/1.17, allocations: 110.9 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/1.171, allocations: 16.92 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/1.172, allocations: 1.087 MB / 1.122 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.173, allocations: 0.7184 MB / 1.123 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.793e-05/1.173, allocations: 26.31 kB / 1.123 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/1.173, allocations: 31.41 kB / 1.123 GB, free: 27.31 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/1.173, allocations: 0 / 1.123 GB, free: 27.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/1.186, allocations: 2.269 MB / 1.125 GB, free: 27.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.187, allocations: 201 kB / 1.125 GB, free: 26.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.801, allocations: 0 / 1.125 GB, free: 26.89 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)