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.572/1.572, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001106/0.001106, allocations: 176.9 kB / 366.7 MB, free: 1.699 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.822/1.822, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0007782/0.0007782, allocations: 91.47 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.461e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7124, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.9042, allocations: 137.7 MB / 1.108 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.9046, allocations: 69.08 kB / 1.108 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001795/0.9064, allocations: 0.5917 MB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9065, allocations: 0 / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.9065, allocations: 0 / 1.108 GB, free: 11.82 MB / 0.7136 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.0004376/0.9069, allocations: 341.2 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.907, allocations: 8.031 kB / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.907, allocations: 0 / 1.109 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.9072, allocations: 170.9 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.9073, allocations: 2.219 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.9073, allocations: 0 / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.737e-05/0.9074, allocations: 16.28 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.717e-05/0.9075, allocations: 37.69 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9075, allocations: 4.562 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.9075, allocations: 0.5938 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.9075, allocations: 0 / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.9079, allocations: 243.5 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.908, allocations: 25.89 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.908, allocations: 13.7 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.9081, allocations: 0 / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.9081, allocations: 36.59 kB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.9081, allocations: 0 / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.9083, allocations: 41.64 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.9083, allocations: 52.22 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.9084, allocations: 94.38 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9084, allocations: 30.2 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.9085, allocations: 84.67 kB / 1.11 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.9085, allocations: 8.453 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.9085, allocations: 0.7188 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9087, allocations: 314.8 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.9087, allocations: 4.656 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.9087, allocations: 8.938 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.9087, allocations: 7.953 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9087, allocations: 0.5625 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.173e-05/0.9088, allocations: 39.17 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.9088, allocations: 4 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9088, allocations: 3.984 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9089, allocations: 6 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.909, allocations: 11.94 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.909, allocations: 2.25 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.9091, allocations: 12.89 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.9091, allocations: 4 kB / 1.11 GB, free: 10.05 MB / 0.7136 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 () * 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 8.173e-05/0.9092, allocations: 109.5 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.9092, allocations: 0 / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.9092, allocations: 7.75 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9092, allocations: 1.625 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9092, allocations: 7.125 kB / 1.11 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9092, allocations: 3.984 kB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.9094, allocations: 130.2 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9094, allocations: 0.7188 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.9095, allocations: 16.86 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.9095, allocations: 3.953 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.9095, allocations: 0.8125 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9095, allocations: 0 / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9095, allocations: 1.844 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.9096, allocations: 135.5 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.9097, allocations: 85.25 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.9097, allocations: 7.953 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.9098, allocations: 4 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.9099, allocations: 3.984 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.9099, allocations: 4 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.9099, allocations: 79.28 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9099, allocations: 0 / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001865/0.9101, allocations: 7.094 kB / 1.111 GB, free: 9.391 MB / 0.7136 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 () * 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.0001892/0.9103, allocations: 103.2 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.723e-05/0.9104, allocations: 12 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.9104, allocations: 0 / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.9104, allocations: 4 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.9106, allocations: 5.547 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.9109, allocations: 71.67 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.9112, allocations: 0.6808 MB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.9112, allocations: 4 kB / 1.111 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.9112, allocations: 11.42 kB / 1.111 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9112, allocations: 0 / 1.111 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of Templates: time 0.002016/0.9133, allocations: 333.5 kB / 1.112 GB, free: 8.152 MB / 0.7136 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)