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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001079/0.001079, allocations: 192.3 kB / 377.1 MB, free: 1.527 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.692/1.692, allocations: 205.4 MB / 0.6367 GB, free: 9.59 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.0009207/0.0009206, allocations: 90.56 kB / 0.751 GB, free: 62.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.315, allocations: 116.3 MB / 0.9884 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8707/1.186, allocations: 138.5 MB / 1.124 GB, free: 36.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.186, allocations: 73.3 kB / 1.124 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001551/1.188, allocations: 0.5913 MB / 1.124 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.764e-06/1.188, allocations: 0 / 1.124 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.188, allocations: 0.8125 kB / 1.124 GB, free: 35.54 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.0003532/1.188, allocations: 339.5 kB / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.188, allocations: 18.73 kB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/1.188, allocations: 2.953 kB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.188, allocations: 171.5 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.188, allocations: 0 / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/1.188, allocations: 4 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/1.189, allocations: 58.2 kB / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.189, allocations: 0.5625 kB / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.189, allocations: 4 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.189, allocations: 1.719 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/1.189, allocations: 47.06 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/1.189, allocations: 262.9 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.189, allocations: 51.11 kB / 1.125 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/1.189, allocations: 0 / 1.125 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/1.189, allocations: 30.56 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.189, allocations: 1.203 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000341/1.19, allocations: 103.6 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.19, allocations: 55.34 kB / 1.125 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/1.19, allocations: 93.75 kB / 1.125 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/1.19, allocations: 25.7 kB / 1.125 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/1.19, allocations: 91.56 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/1.19, allocations: 0 / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.19, allocations: 4.125 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/1.19, allocations: 318.8 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/1.19, allocations: 19.56 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/1.19, allocations: 23.53 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/1.19, allocations: 23.62 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.19, allocations: 0 / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001656/1.19, allocations: 80.02 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.19, allocations: 8.031 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.19, allocations: 4.5 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.19, allocations: 4 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/1.191, allocations: 12.2 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.191, allocations: 3.938 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/1.191, allocations: 7.562 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.191, allocations: 0 / 1.126 GB, free: 33.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.936e-05/1.191, allocations: 118.4 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.191, allocations: 0 / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/1.191, allocations: 11.11 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.191, allocations: 4.562 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.191, allocations: 0 / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.191, allocations: 0 / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/1.191, allocations: 161.8 kB / 1.126 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.191, allocations: 3.969 kB / 1.126 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/1.191, allocations: 8 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.191, allocations: 4.516 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.191, allocations: 0.5 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.191, allocations: 8.281 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.191, allocations: 0 / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/1.191, allocations: 171 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/1.191, allocations: 88.91 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/1.191, allocations: 4.75 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/1.191, allocations: 8.312 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/1.191, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/1.191, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.824e-05/1.191, allocations: 87.39 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.191, allocations: 4.031 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002012/1.192, allocations: 4 kB / 1.127 GB, free: 32.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.0001168/1.192, allocations: 95.25 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002021/1.192, allocations: 50.41 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.192, allocations: 0.5625 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/1.192, allocations: 23.47 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/1.192, allocations: 3.469 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/1.193, allocations: 125.1 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/1.193, allocations: 0.6814 MB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.01e-05/1.193, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/1.193, allocations: 7.438 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/1.193, allocations: 0 / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.002139/1.195, allocations: 348.3 kB / 1.128 GB, free: 31.69 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)