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.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.457/2.457, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001489/0.001489, allocations: 181.5 kB / 325.6 MB, free: 2.844 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.555/2.555, 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.001172/0.001172, allocations: 104.2 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006393, allocations: 13.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2266, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002083/0.2288, allocations: 1.088 MB / 0.9 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004239/0.2292, allocations: 113.5 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.2293, allocations: 7.938 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.2293, allocations: 3.984 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.2294, allocations: 3.984 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.2296, allocations: 4 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.2297, allocations: 11.98 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.2298, allocations: 9.109 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.2299, allocations: 15.94 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.2299, allocations: 3.984 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2299, allocations: 4 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.23, allocations: 0 / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.23, allocations: 4 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.23, allocations: 33.64 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.173e-05/0.2301, allocations: 7.969 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2301, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2301, allocations: 3.938 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2302, allocations: 4 kB / 0.9002 GB, free: 64.13 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.000516/0.2307, allocations: 343.3 kB / 0.9005 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2308, allocations: 8.031 kB / 0.9005 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.2308, allocations: 0 / 0.9005 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2309, allocations: 171 kB / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.231, allocations: 0 / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.231, allocations: 7.984 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2313, allocations: 57.67 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2313, allocations: 0 / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2313, allocations: 0 / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2314, allocations: 0 / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.2317, allocations: 43.91 kB / 0.9008 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.2321, allocations: 257.1 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.2324, allocations: 42.56 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2324, allocations: 0 / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2325, allocations: 34.56 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.2325, allocations: 0 / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007142/0.2332, allocations: 105.7 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2333, allocations: 51.41 kB / 0.9013 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.2334, allocations: 105.8 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2334, allocations: 25.7 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.2334, allocations: 84.08 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2335, allocations: 11.89 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.2335, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.2336, allocations: 314.8 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.2338, allocations: 24 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.234, allocations: 23.98 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.2342, allocations: 19.92 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2342, allocations: 8.062 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004253/0.2346, allocations: 77.59 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2347, allocations: 4 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2347, allocations: 0 / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2347, allocations: 0 / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2349, allocations: 20.02 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2349, allocations: 0 / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.235, allocations: 11.94 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2351, allocations: 7.938 kB / 0.902 GB, free: 62.09 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 7.759e-05/0.2351, allocations: 113.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2352, allocations: 0 / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.2357, allocations: 88.72 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2357, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2357, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2357, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.236, allocations: 161.5 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.236, allocations: 32 / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.2361, allocations: 15.98 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2361, allocations: 0 / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2362, allocations: 4 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2362, allocations: 0 / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2362, allocations: 0 / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.2366, allocations: 175.5 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2367, allocations: 77.11 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2367, allocations: 7.984 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.2369, allocations: 4 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.237, allocations: 7.922 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.237, allocations: 8.031 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.408e-05/0.2371, allocations: 79.45 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2371, allocations: 0 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005024/0.2376, allocations: 8 kB / 0.9027 GB, free: 61.26 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.0001536/0.2378, allocations: 99.25 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.2382, allocations: 47.95 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2383, allocations: 0 / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2385, allocations: 19.98 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2388, allocations: 11.95 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.2392, allocations: 116.7 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2394, allocations: 0.6809 MB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.235e-05/0.2394, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2395, allocations: 7.438 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/0.2395, allocations: 4 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.003243/0.2427, allocations: 350 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB