Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.574/1.574, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 183.4 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.2 MB / 0.6626 GB, free: 4.328 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007846/0.0007847, allocations: 93.84 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 17.53 kB / 0.9088 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5785, allocations: 120.3 MB / 1.026 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.7535, allocations: 140.7 MB / 1.164 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.7538, allocations: 59.97 kB / 1.164 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001483/0.7553, allocations: 0.6045 MB / 1.164 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7553, allocations: 0 / 1.164 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7554, allocations: 0 / 1.164 GB, free: 0.8125 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.000362/0.7557, allocations: 338.7 kB / 1.165 GB, free: 444 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7558, allocations: 17.05 kB / 1.165 GB, free: 428 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.7558, allocations: 4.844 kB / 1.165 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.756, allocations: 166.2 kB / 1.165 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.756, allocations: 4.375 kB / 1.165 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.756, allocations: 1.438 kB / 1.165 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.7562, allocations: 60.14 kB / 1.165 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.7562, allocations: 192 / 1.165 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7562, allocations: 3.938 kB / 1.165 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7562, allocations: 0 / 1.165 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.7564, allocations: 42.67 kB / 1.165 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.7568, allocations: 266.9 kB / 1.165 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.757, allocations: 48.56 kB / 1.165 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.7571, allocations: 29.95 kB / 1.165 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.7571, allocations: 11.91 kB / 1.165 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7571, allocations: 30.56 kB / 1.165 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.7571, allocations: 3.938 kB / 1.165 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000319/0.7574, allocations: 97.64 kB / 1.165 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.7575, allocations: 51.41 kB / 1.166 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.7576, allocations: 101.9 kB / 1.166 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.7576, allocations: 29.83 kB / 1.166 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.7576, allocations: 84.05 kB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.7577, allocations: 11.98 kB / 1.166 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.7577, allocations: 0 / 1.166 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7578, allocations: 310.8 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.7579, allocations: 19.98 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.758, allocations: 27.92 kB / 1.166 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.7581, allocations: 48.81 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7581, allocations: 0 / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.7583, allocations: 85.58 kB / 1.166 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7583, allocations: 8 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7583, allocations: 0 / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7583, allocations: 3.984 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.7585, allocations: 12.03 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.7585, allocations: 0 / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.7585, allocations: 15.92 kB / 1.166 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.7585, allocations: 0 / 1.166 GB, free: 14.72 MB / 0.7448 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 7.627e-05/0.7586, allocations: 113.7 kB / 1.166 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.7586, allocations: 4 kB / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.7587, allocations: 7.125 kB / 1.166 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7587, allocations: 4 kB / 1.166 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7587, allocations: 0 / 1.166 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7587, allocations: 3.984 kB / 1.166 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.7589, allocations: 157.9 kB / 1.167 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7589, allocations: 4 kB / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.7589, allocations: 15.98 kB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7589, allocations: 0 / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.7589, allocations: 0 / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.759, allocations: 0 / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.759, allocations: 0 / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.7592, allocations: 175.5 kB / 1.167 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.7592, allocations: 89.56 kB / 1.167 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.7593, allocations: 0 / 1.167 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.7593, allocations: 12.02 kB / 1.167 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.7594, allocations: 7.938 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.7594, allocations: 0 / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.7594, allocations: 83.28 kB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7594, allocations: 0 / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001913/0.7596, allocations: 7.984 kB / 1.167 GB, free: 13.95 MB / 0.7448 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.000134/0.7598, allocations: 99.78 kB / 1.167 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.76, allocations: 43.97 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.76, allocations: 0 / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.7601, allocations: 32.03 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.7603, allocations: 8.484 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.7606, allocations: 110.3 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.7609, allocations: 0.677 MB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.7609, allocations: 0 / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.7609, allocations: 11.5 kB / 1.168 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.7609, allocations: 0 / 1.168 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.002163/0.7631, allocations: 358.2 kB / 1.168 GB, free: 12.57 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)