Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.9 MB / 0.51 GB, free: 4.895 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005131, allocations: 27.59 kB / 0.6242 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6505/0.651, allocations: 106.3 MB / 0.728 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.00156/0.6526, allocations: 1.091 MB / 0.7291 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.6529, allocations: 99.25 kB / 0.7292 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.653, allocations: 0 / 0.7292 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.653, allocations: 7.875 kB / 0.7292 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.6531, allocations: 0 / 0.7292 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.36e-05/0.6532, allocations: 7.984 kB / 0.7292 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.6532, allocations: 15.98 kB / 0.7292 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.6533, allocations: 4 kB / 0.7292 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.6534, allocations: 7.984 kB / 0.7292 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.6534, allocations: 15.92 kB / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.6535, allocations: 0 / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.6535, allocations: 0 / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.6535, allocations: 0 / 0.7292 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.6535, allocations: 33.64 kB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.748e-05/0.6536, allocations: 19.95 kB / 0.7293 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.6536, allocations: 0 / 0.7293 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6536, allocations: 0 / 0.7293 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6536, allocations: 4 kB / 0.7293 GB, free: 10.3 MB / 0.545 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.0004624/0.6541, allocations: 337.4 kB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6541, allocations: 8.031 kB / 0.7296 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.6542, allocations: 4 kB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.6543, allocations: 174.9 kB / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6543, allocations: 0 / 0.7298 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.6543, allocations: 4 kB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.6545, allocations: 53.69 kB / 0.7298 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6545, allocations: 3.984 kB / 0.7298 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6546, allocations: 3.938 kB / 0.7298 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6546, allocations: 0 / 0.7298 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.6547, allocations: 47.91 kB / 0.7299 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.6551, allocations: 252.9 kB / 0.7301 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.6552, allocations: 42.56 kB / 0.7302 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.6553, allocations: 4 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6553, allocations: 30.56 kB / 0.7302 GB, free: 9.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/0.6553, allocations: 3.984 kB / 0.7302 GB, free: 9.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.6557, allocations: 105.6 kB / 0.7303 GB, free: 9.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6557, allocations: 51.41 kB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.6558, allocations: 101.8 kB / 0.7304 GB, free: 8.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.6558, allocations: 25.7 kB / 0.7305 GB, free: 8.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.6559, allocations: 84.14 kB / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.6559, allocations: 7.906 kB / 0.7306 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.6559, allocations: 0 / 0.7306 GB, free: 8.781 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.656, allocations: 318.9 kB / 0.7309 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.6561, allocations: 23.98 kB / 0.7309 GB, free: 8.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.6562, allocations: 19.97 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.6563, allocations: 28.05 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6563, allocations: 3.938 kB / 0.7309 GB, free: 8.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.6565, allocations: 77.59 kB / 0.731 GB, free: 8.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6565, allocations: 8.031 kB / 0.731 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6565, allocations: 4 kB / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6565, allocations: 0 / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.6566, allocations: 8.25 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6567, allocations: 0 / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.6567, allocations: 15.89 kB / 0.731 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.6567, allocations: 4 kB / 0.731 GB, free: 8.266 MB / 0.545 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.625e-05/0.6568, allocations: 117.8 kB / 0.7312 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.6568, allocations: 0 / 0.7312 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.6569, allocations: 11.11 kB / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6569, allocations: 0 / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6569, allocations: 0 / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.6569, allocations: 0 / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.6571, allocations: 157.6 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6571, allocations: 3.938 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.6571, allocations: 11.98 kB / 0.7313 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.6571, allocations: 8 kB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.6571, allocations: 0 / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6572, allocations: 0 / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6572, allocations: 0 / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.6574, allocations: 179.4 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.6575, allocations: 77.11 kB / 0.7316 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.6575, allocations: 4 kB / 0.7316 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.6576, allocations: 7.984 kB / 0.7316 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.6576, allocations: 4 kB / 0.7316 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.6576, allocations: 0 / 0.7316 GB, free: 7.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.6577, allocations: 87.27 kB / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6577, allocations: 0 / 0.7317 GB, free: 7.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002012/0.6579, allocations: 8.031 kB / 0.7317 GB, free: 7.508 MB / 0.545 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.0001552/0.658, allocations: 95.25 kB / 0.7318 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6583, allocations: 47.91 kB / 0.7318 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6583, allocations: 4.062 kB / 0.7318 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.6584, allocations: 27.97 kB / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.6586, allocations: 11.05 kB / 0.7319 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.6589, allocations: 112.5 kB / 0.732 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6592, allocations: 0.6849 MB / 0.7326 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.6592, allocations: 0 / 0.7326 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.6593, allocations: 7.438 kB / 0.7327 GB, free: 6.465 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6593, allocations: 3.938 kB / 0.7327 GB, free: 6.461 MB / 0.545 GB Notification: Performance of Templates: time 0.002345/0.6616, allocations: 350.8 kB / 0.733 GB, free: 6.121 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1) Environment - environmentSimulation: