Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 251.1 MB / 266.1 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002412, allocations: 183.1 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 98.28 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 16.56 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001574/0.212, allocations: 1.088 MB / 0.9 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.2123, allocations: 97.53 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.2124, allocations: 0 / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.2124, allocations: 3.938 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.2125, allocations: 11.94 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.058e-05/0.2125, allocations: 3.984 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.2126, allocations: 11.98 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.2127, allocations: 11.98 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.2128, allocations: 7.938 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.2128, allocations: 7.984 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2128, allocations: 4 kB / 0.9001 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.2128, allocations: 0 / 0.9001 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2129, allocations: 0 / 0.9001 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.2129, allocations: 29.64 kB / 0.9001 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.748e-05/0.213, allocations: 23.94 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.213, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.213, allocations: 0 / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.213, allocations: 4 kB / 0.9002 GB, free: 64.09 MB / 0.6042 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.0004147/0.2134, allocations: 335.3 kB / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2135, allocations: 12.02 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.2135, allocations: 4 kB / 0.9005 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.2136, allocations: 175.2 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2137, allocations: 0 / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2137, allocations: 3.984 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.2139, allocations: 57.61 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.214, allocations: 4 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.214, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.214, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2143, allocations: 51.91 kB / 0.9008 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.2146, allocations: 254 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2148, allocations: 46.56 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2148, allocations: 0 / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2148, allocations: 30.56 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.2149, allocations: 0 / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005086/0.2154, allocations: 101.6 kB / 0.9012 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2154, allocations: 55.41 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.2155, allocations: 105.8 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2155, allocations: 25.7 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.2156, allocations: 84.27 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.2156, allocations: 7.906 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2156, allocations: 0 / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2157, allocations: 318.8 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2158, allocations: 19.98 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.216, allocations: 23.98 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2161, allocations: 19.98 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2161, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003137/0.2164, allocations: 89.59 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2165, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2165, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2165, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2167, allocations: 11.98 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2167, allocations: 4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.2168, allocations: 4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2168, allocations: 7.984 kB / 0.9019 GB, free: 62.06 MB / 0.6042 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 6.545e-05/0.2169, allocations: 113.8 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2169, allocations: 3.906 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.2169, allocations: 7.125 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2169, allocations: 0 / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.217, allocations: 4 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.217, allocations: 3.938 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2171, allocations: 157.6 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2171, allocations: 3.984 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.2173, allocations: 12 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2173, allocations: 0 / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2173, allocations: 0 / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2173, allocations: 3.938 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2173, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.2177, allocations: 175.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2177, allocations: 77.36 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2177, allocations: 3.984 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.2179, allocations: 12 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2179, allocations: 0 / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.218, allocations: 8.016 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.218, allocations: 83.28 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.218, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000287/0.2183, allocations: 4 kB / 0.9026 GB, free: 61.3 MB / 0.6042 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.0001269/0.2184, allocations: 99.25 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.2188, allocations: 55.89 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2188, allocations: 0 / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.219, allocations: 23.98 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.2192, allocations: 3.953 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2195, allocations: 120.7 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2197, allocations: 0.677 MB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2197, allocations: 4 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2197, allocations: 11.38 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2198, allocations: 3.938 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.002619/0.2224, allocations: 355.1 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB