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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.488/2.488, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001426/0.001426, allocations: 178.2 kB / 325.8 MB, free: 2.797 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.639/2.639, allocations: 205.4 MB / 0.5767 GB, free: 20.74 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.001411/0.00141, allocations: 95.97 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 15.19 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 106.3 MB / 0.8991 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001591/0.2118, allocations: 1.093 MB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.2121, allocations: 105.8 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2122, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.2122, allocations: 3.938 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.2123, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.394e-05/0.2124, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.784e-05/0.2124, allocations: 23.92 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.2125, allocations: 4 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.2126, allocations: 15.92 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/0.2127, allocations: 8 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2127, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.2127, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.2127, allocations: 11.97 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.2127, allocations: 33.64 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.184e-05/0.2128, allocations: 15.97 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2128, allocations: 0 / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2128, allocations: 0 / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2129, allocations: 3.938 kB / 0.9004 GB, free: 64.02 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.0004213/0.2133, allocations: 339.5 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2133, allocations: 8.031 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.2134, allocations: 4.938 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.2135, allocations: 172.5 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2135, allocations: 4.359 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2135, allocations: 4.375 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2138, allocations: 54.25 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2138, allocations: 192 / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2138, allocations: 3.938 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2138, allocations: 0 / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2141, allocations: 47.89 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.2144, allocations: 252.9 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.2146, allocations: 50.53 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.2148, allocations: 28.91 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.2148, allocations: 0 / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2148, allocations: 34.5 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.2149, allocations: 0 / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005106/0.2154, allocations: 97.64 kB / 0.9014 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2154, allocations: 55.41 kB / 0.9015 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.2155, allocations: 101.8 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2155, allocations: 25.7 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.2155, allocations: 84.14 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2156, allocations: 8.031 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2156, allocations: 4 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.2157, allocations: 310.8 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2158, allocations: 27.97 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.216, allocations: 15.98 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2161, allocations: 28.05 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2161, allocations: 3.938 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003108/0.2165, allocations: 81.59 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2165, allocations: 4 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2165, allocations: 0 / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2165, allocations: 0 / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2167, allocations: 8.25 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2167, allocations: 7.984 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.2168, allocations: 8 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2168, allocations: 0 / 0.9021 GB, free: 61.96 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.355e-05/0.2169, allocations: 121.8 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.2169, allocations: 7.844 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.2169, allocations: 7.109 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2169, allocations: 0 / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.217, allocations: 7.938 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.217, allocations: 0 / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2171, allocations: 157.6 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2171, allocations: 0 / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.2173, allocations: 15.98 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2173, allocations: 3.938 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.2173, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2173, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2173, allocations: 4 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.2176, allocations: 175.5 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.2177, allocations: 77.11 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2177, allocations: 0 / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2178, allocations: 11.98 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.2179, allocations: 4 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2179, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.218, allocations: 91.3 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.91e-07/0.218, allocations: 0 / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002579/0.2182, allocations: 4 kB / 0.9028 GB, free: 61.2 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.0001189/0.2184, allocations: 99.25 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.2187, allocations: 55.91 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2187, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.2189, allocations: 23.97 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2192, allocations: 3.938 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.2195, allocations: 124.7 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2197, allocations: 0.6731 MB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.2197, allocations: 0 / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2198, allocations: 11.44 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.2198, allocations: 0 / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.002723/0.2225, allocations: 355.9 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)