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 2.554/2.554, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001458, allocations: 174.7 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 100.4 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 18.33 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0006802/0.1563, allocations: 385.3 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.157, allocations: 0.787 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1571, allocations: 0 / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1571, allocations: 0 / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.1572, allocations: 3.938 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.154e-05/0.1572, allocations: 8 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.1573, allocations: 15.97 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.1574, allocations: 4 kB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.1574, allocations: 7.984 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.78e-05/0.1575, allocations: 11.94 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1575, allocations: 0 / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-06/0.1575, allocations: 4 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1575, allocations: 3.984 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.1576, allocations: 29.64 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.088e-05/0.1576, allocations: 19.95 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1576, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.862e-06/0.1576, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.317e-06/0.1577, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 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.000319/0.158, allocations: 343.5 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.158, allocations: 19.95 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.1581, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.1582, allocations: 163 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1582, allocations: 4 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.1582, allocations: 0 / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1584, allocations: 57.67 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-06/0.1584, allocations: 3.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-06/0.1584, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-06/0.1584, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1586, allocations: 47.95 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.1589, allocations: 256.9 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1591, allocations: 42.55 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1591, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.1591, allocations: 34.56 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.185e-06/0.1591, allocations: 4.062 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003783/0.1595, allocations: 105.6 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.1595, allocations: 51.41 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.1596, allocations: 101.9 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.118e-06/0.1596, allocations: 25.7 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.1597, allocations: 88.12 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1597, allocations: 3.906 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.1597, allocations: 0 / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.1598, allocations: 318.8 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.1599, allocations: 24.02 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.16, allocations: 19.98 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.1601, allocations: 28.03 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-06/0.1601, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002233/0.1603, allocations: 69.67 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1604, allocations: 8 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.076e-06/0.1604, allocations: 7.875 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1604, allocations: 4.031 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.1605, allocations: 11.98 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.972e-06/0.1605, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.1606, allocations: 11.98 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-06/0.1606, allocations: 0 / 0.9818 GB, free: 24.82 MB / 0.6198 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.37e-05/0.1607, allocations: 113.8 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1607, allocations: 8 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.1607, allocations: 3.125 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-06/0.1607, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-06/0.1607, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-06/0.1608, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1609, allocations: 165.8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-06/0.1609, allocations: 4 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.161, allocations: 15.98 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.088e-06/0.161, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-06/0.161, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1611, allocations: 4 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1611, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1613, allocations: 187.2 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.1614, allocations: 81.11 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1614, allocations: 0 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.1615, allocations: 7.984 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.1615, allocations: 8 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1616, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.1616, allocations: 79.28 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.42e-07/0.1616, allocations: 0 / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002798/0.1619, allocations: 4 kB / 0.9824 GB, free: 24.06 MB / 0.6198 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.0001024/0.162, allocations: 103.3 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1623, allocations: 43.97 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.683e-06/0.1623, allocations: 4 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1624, allocations: 27.98 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1626, allocations: 11.94 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.1629, allocations: 108.7 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.163, allocations: 0.6771 MB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.163, allocations: 4 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.1631, allocations: 15.42 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.1631, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.002269/0.1654, allocations: 343.5 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB