Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.033/5.033, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002569/0.002568, allocations: 357.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.33/4.33, allocations: 410.7 MB / 1.112 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 196.6 kB / 1.225 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 12 kB / 1.348 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6353/0.6359, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0006995/0.6366, allocations: 389.2 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.6374, allocations: 0.7852 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.6375, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.6375, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.6376, allocations: 9.922 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.322e-05/0.6376, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.6377, allocations: 19.98 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.6378, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.6378, allocations: 8.562 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.6379, allocations: 12.52 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.6379, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-06/0.6379, allocations: 1.031 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.638, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.638, allocations: 25.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.885e-05/0.638, allocations: 20.92 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.437e-06/0.6381, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.556e-06/0.6381, allocations: 0.7812 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.743e-06/0.6381, allocations: 3.938 kB / 1.462 GB, free: 283 MB / 0.8542 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.0003383/0.6384, allocations: 344.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6385, allocations: 11.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.6385, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.6386, allocations: 167 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6386, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-06/0.6387, allocations: 5.219 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.6388, allocations: 56.42 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-06/0.6389, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.6389, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.6389, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.6391, allocations: 45.95 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.6394, allocations: 249.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.6395, allocations: 48.88 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.6396, allocations: 30.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.6396, allocations: 0.7031 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.6397, allocations: 35.44 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.02e-06/0.6397, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.6401, allocations: 102 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.6401, allocations: 51.41 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.6402, allocations: 105.8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.883e-06/0.6402, allocations: 30.36 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.6402, allocations: 85.91 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.6403, allocations: 7.891 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-06/0.6403, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.6403, allocations: 318.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.6404, allocations: 17.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.6405, allocations: 24.98 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.6407, allocations: 22.25 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-06/0.6407, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002404/0.6409, allocations: 79.98 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.641, allocations: 5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-06/0.641, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.641, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.6411, allocations: 12.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.477e-06/0.6411, allocations: 4.438 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.6412, allocations: 17.23 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-06/0.6412, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 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.81e-05/0.6413, allocations: 112.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.6413, allocations: 4.656 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.6413, allocations: 7.125 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-06/0.6414, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-06/0.6414, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-06/0.6414, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6415, allocations: 166.3 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6416, allocations: 256 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.6416, allocations: 17.64 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6416, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-06/0.6417, allocations: 0.875 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-06/0.6417, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-06/0.6417, allocations: 0.8438 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.6419, allocations: 182.1 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.642, allocations: 78.58 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.642, allocations: 3.938 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6421, allocations: 17.52 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.6422, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-06/0.6422, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.6422, allocations: 83.28 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.46e-07/0.6422, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002957/0.6425, allocations: 4 kB / 1.464 GB, free: 280.2 MB / 0.8542 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.000102/0.6426, allocations: 104.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.6429, allocations: 43.72 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.616e-06/0.6429, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.643, allocations: 28.86 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6434, allocations: 7.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.6436, allocations: 118.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.6438, allocations: 0.677 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.6438, allocations: 5.094 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.6438, allocations: 7.438 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.306e-06/0.6438, allocations: 1.469 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002403/0.6463, allocations: 361.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB