Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 293 MB / 309 MB, free: 4.789 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.000961/0.000961, allocations: 164.6 kB / 378.7 MB, free: 1.016 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.544/1.544, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007953/0.000795, allocations: 87.05 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004127, allocations: 16 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 116.4 MB / 0.9905 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7915/1.059, allocations: 138.6 MB / 1.126 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/1.059, allocations: 68.03 kB / 1.126 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001302/1.06, allocations: 0.5937 MB / 1.126 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.856e-06/1.06, allocations: 0.75 kB / 1.126 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.06, allocations: 0 / 1.126 GB, free: 34.61 MB / 0.7292 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.0002961/1.06, allocations: 339.2 kB / 1.127 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.06, allocations: 12.03 kB / 1.127 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/1.061, allocations: 7.344 kB / 1.127 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/1.061, allocations: 174.7 kB / 1.127 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.061, allocations: 4.375 kB / 1.127 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/1.061, allocations: 384 / 1.127 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/1.061, allocations: 54.7 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/1.061, allocations: 4.188 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.061, allocations: 5.156 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.061, allocations: 0.5 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/1.061, allocations: 42.55 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/1.061, allocations: 270 kB / 1.127 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.061, allocations: 46.58 kB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/1.062, allocations: 35.91 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/1.062, allocations: 0 / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.062, allocations: 31.12 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.062, allocations: 0 / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003025/1.062, allocations: 99.2 kB / 1.127 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/1.062, allocations: 63.61 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/1.062, allocations: 98.48 kB / 1.128 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.062, allocations: 25.7 kB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/1.062, allocations: 87.77 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/1.062, allocations: 15.52 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/1.062, allocations: 0 / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/1.062, allocations: 311.4 kB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/1.062, allocations: 23.56 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/1.062, allocations: 23.27 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.062, allocations: 44.03 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.062, allocations: 0 / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001602/1.063, allocations: 88.33 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.063, allocations: 8.562 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.063, allocations: 0 / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.063, allocations: 0.6562 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/1.063, allocations: 11.61 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/1.063, allocations: 0 / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/1.063, allocations: 16.31 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/1.063, allocations: 0.5625 kB / 1.128 GB, free: 32.62 MB / 0.7292 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 5.051e-05/1.063, allocations: 113.8 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/1.063, allocations: 4 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/1.063, allocations: 7.125 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.063, allocations: 3.516 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.063, allocations: 0.7969 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.063, allocations: 4.844 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.063, allocations: 157.6 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.063, allocations: 4 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/1.063, allocations: 11.47 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.063, allocations: 0.5 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.063, allocations: 0 / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.063, allocations: 0 / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.063, allocations: 0.5 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/1.063, allocations: 189.4 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/1.063, allocations: 77.95 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.063, allocations: 1.312 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/1.063, allocations: 12.97 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/1.064, allocations: 4 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/1.064, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.563e-05/1.064, allocations: 87.25 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001886/1.064, allocations: 4 kB / 1.129 GB, free: 31.89 MB / 0.7292 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.0001097/1.064, allocations: 95.25 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001868/1.064, allocations: 51.11 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.064, allocations: 3.938 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/1.064, allocations: 27.22 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.064, allocations: 12.06 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/1.065, allocations: 108.8 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/1.065, allocations: 0.6764 MB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.582e-05/1.065, allocations: 0 / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/1.065, allocations: 8 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.065, allocations: 0 / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.002176/1.067, allocations: 366.6 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)