Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01572/0.01572, allocations: 108.2 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001808/0.001808, allocations: 184.4 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.064/2.064, allocations: 194.6 MB / 211.3 MB, free: 11.31 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.233/2.233, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 20 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5436, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002235/0.5459, allocations: 1.075 MB / 0.6844 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004086/0.5464, allocations: 110.4 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.5464, allocations: 0 / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.5465, allocations: 0 / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.5466, allocations: 6.25 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.5466, allocations: 2.156 kB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.5467, allocations: 14.53 kB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.5468, allocations: 7.406 kB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.5469, allocations: 8.969 kB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.547, allocations: 10.64 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.5471, allocations: 4 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-06/0.5471, allocations: 1.156 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.5471, allocations: 6.312 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.5472, allocations: 26.86 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.347e-05/0.5472, allocations: 17.05 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5473, allocations: 1.25 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.876e-06/0.5473, allocations: 3.938 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.905e-06/0.5473, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 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.0004905/0.5478, allocations: 342.1 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5479, allocations: 8.531 kB / 0.6849 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.5479, allocations: 5.156 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.5481, allocations: 166.8 kB / 0.6851 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5481, allocations: 0.8438 kB / 0.6851 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.5481, allocations: 1.312 kB / 0.6851 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.5484, allocations: 60.52 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5485, allocations: 1.188 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5485, allocations: 0 / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.199e-06/0.5485, allocations: 1.344 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.5489, allocations: 42.36 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.5493, allocations: 259.4 kB / 0.6855 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.5496, allocations: 45.36 kB / 0.6855 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5496, allocations: 0.9688 kB / 0.6855 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.5497, allocations: 35.41 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 4.421e-06/0.5497, allocations: 4 kB / 0.6855 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000694/0.5504, allocations: 99.2 kB / 0.6856 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5505, allocations: 56.59 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.5506, allocations: 106.7 kB / 0.6858 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5506, allocations: 25.7 kB / 0.6858 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.5507, allocations: 82.64 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.5507, allocations: 4.703 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.5507, allocations: 5.156 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.5508, allocations: 315.4 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.551, allocations: 22.83 kB / 0.6862 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.5512, allocations: 24.25 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.5515, allocations: 19.27 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-06/0.5515, allocations: 4.062 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004334/0.5519, allocations: 80.53 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.552, allocations: 6.156 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.771e-06/0.552, allocations: 0 / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.552, allocations: 0 / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.5522, allocations: 15.34 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.161e-06/0.5523, allocations: 1.062 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5524, allocations: 8.312 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5524, allocations: 9.062 kB / 0.6864 GB, free: 14.2 MB / 0.5261 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 9.217e-05/0.5525, allocations: 112 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.5526, allocations: 1.375 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.5527, allocations: 8.859 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.855e-06/0.5527, allocations: 6.25 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-06/0.5527, allocations: 3.938 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-06/0.5527, allocations: 0 / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.553, allocations: 164.3 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.553, allocations: 0.6094 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.5532, allocations: 11.48 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.312e-06/0.5532, allocations: 0.6094 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5533, allocations: 1.25 kB / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.755e-06/0.5533, allocations: 0 / 0.6867 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5533, allocations: 4.656 kB / 0.6867 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.5538, allocations: 172.7 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.5539, allocations: 83 kB / 0.6869 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.5539, allocations: 7.969 kB / 0.6869 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.5541, allocations: 9.188 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.5542, allocations: 2.875 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.5542, allocations: 3.938 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.5543, allocations: 89.94 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.043e-06/0.5543, allocations: 0 / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005865/0.5549, allocations: 3.125 kB / 0.687 GB, free: 13.54 MB / 0.5261 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.0001646/0.5551, allocations: 105.7 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.5556, allocations: 44.16 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.008e-06/0.5556, allocations: 1 kB / 0.6872 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.5558, allocations: 29.69 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.5562, allocations: 10.05 kB / 0.6872 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.5566, allocations: 114.8 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.5568, allocations: 0.6796 MB / 0.688 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.5568, allocations: 6.484 kB / 0.688 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.5569, allocations: 7.438 kB / 0.688 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.681e-06/0.5569, allocations: 0 / 0.688 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.003974/0.5609, allocations: 347 kB / 0.6883 GB, free: 12.55 MB / 0.5261 GB