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.Gain.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.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.819/1.819, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.00127/0.00127, allocations: 187 kB / 371.8 MB, free: 10.13 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.623/1.623, allocations: 205.4 MB / 0.6305 GB, free: 9.93 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.0008908/0.0008908, allocations: 103.4 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 13.62 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2382, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6893/0.9275, allocations: 137.5 MB / 1.114 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.9278, allocations: 70.2 kB / 1.114 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001947/0.9297, allocations: 0.5897 MB / 1.114 GB, free: 32.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9298, allocations: 0 / 1.114 GB, free: 32.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9298, allocations: 0 / 1.114 GB, free: 32.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003933/0.9302, allocations: 350.1 kB / 1.115 GB, free: 31.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.9302, allocations: 11.7 kB / 1.115 GB, free: 31.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.9303, allocations: 34.38 kB / 1.115 GB, free: 31.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.9303, allocations: 3.906 kB / 1.115 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9304, allocations: 167 kB / 1.115 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.9305, allocations: 3.844 kB / 1.115 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.9305, allocations: 0 / 1.115 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.9307, allocations: 57.72 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.9307, allocations: 4 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.9307, allocations: 0 / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9307, allocations: 7.812 kB / 1.115 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.9309, allocations: 39.53 kB / 1.115 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.9313, allocations: 266.4 kB / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.9315, allocations: 46.34 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.9315, allocations: 0 / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.9315, allocations: 41.17 kB / 1.115 GB, free: 31.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9315, allocations: 3.938 kB / 1.115 GB, free: 31.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003565/0.9319, allocations: 96.98 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.9319, allocations: 51.41 kB / 1.116 GB, free: 31.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.932, allocations: 100.5 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.932, allocations: 25.7 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.9321, allocations: 87.67 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.9321, allocations: 5.969 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.9321, allocations: 0 / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.9322, allocations: 317.9 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.9323, allocations: 23.95 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.9324, allocations: 27.05 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.9325, allocations: 20.94 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9325, allocations: 3.844 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/0.9326, allocations: 75.55 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9327, allocations: 7.688 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9327, allocations: 0 / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9327, allocations: 7.031 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.9328, allocations: 11.47 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9328, allocations: 3.281 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.9329, allocations: 7.688 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.9329, allocations: 0 / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.965e-05/0.933, allocations: 112.4 kB / 1.116 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.933, allocations: 7.688 kB / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.933, allocations: 6.812 kB / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.933, allocations: 0 / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.933, allocations: 0 / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.933, allocations: 0 / 1.116 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.9332, allocations: 166.4 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9332, allocations: 0 / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.9333, allocations: 12.31 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.9333, allocations: 1.859 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.9333, allocations: 3.938 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.9333, allocations: 7.938 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9333, allocations: 3.844 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.9335, allocations: 172.8 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.9336, allocations: 84.67 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.9336, allocations: 0 / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.9337, allocations: 10.31 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.9337, allocations: 2.578 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.9337, allocations: 3.938 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.9338, allocations: 82.72 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9338, allocations: 0 / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001957/0.934, allocations: 3.875 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004904/0.9345, allocations: 0.7165 MB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.9347, allocations: 42.48 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9347, allocations: 2.703 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.9348, allocations: 28.11 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.935, allocations: 7.688 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.9354, allocations: 142.8 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.9356, allocations: 0.6824 MB / 1.118 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.9357, allocations: 4.062 kB / 1.118 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.9357, allocations: 11.19 kB / 1.118 GB, free: 28.37 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.9357, allocations: 0 / 1.118 GB, free: 28.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.9458, allocations: 1.016 MB / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.946, allocations: 199.9 kB / 1.12 GB, free: 28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.534, allocations: 0 / 1.12 GB, free: 28 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)