Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005193, allocations: 19.12 kB / 0.6736 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1923, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0007777/0.1931, allocations: 397.1 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.194, allocations: 0.787 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1941, allocations: 4 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1941, allocations: 3.984 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.1942, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.718e-05/0.1942, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.1943, allocations: 19.97 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.1943, allocations: 4 kB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.1944, allocations: 7.938 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.1944, allocations: 11.92 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1945, allocations: 8 kB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.1945, allocations: 3.938 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1945, allocations: 3.984 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1945, allocations: 29.7 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.219e-05/0.1946, allocations: 15.95 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1946, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1946, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1946, allocations: 4 kB / 0.7884 GB, free: 10.68 MB / 0.6075 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.0003835/0.195, allocations: 343.5 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.195, allocations: 8.031 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.195, allocations: 4 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1952, allocations: 163 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1952, allocations: 4 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1952, allocations: 7.984 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1954, allocations: 57.61 kB / 0.7889 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1954, allocations: 8 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1954, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1954, allocations: 0 / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1956, allocations: 43.95 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.1959, allocations: 252.9 kB / 0.7892 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.196, allocations: 46.5 kB / 0.7893 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.196, allocations: 0 / 0.7893 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1961, allocations: 30.56 kB / 0.7893 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1961, allocations: 4 kB / 0.7893 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003303/0.1964, allocations: 97.61 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1964, allocations: 59.53 kB / 0.7895 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.1965, allocations: 101.8 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1965, allocations: 25.7 kB / 0.7896 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.1966, allocations: 80.14 kB / 0.7897 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.1966, allocations: 11.91 kB / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.1966, allocations: 0 / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1967, allocations: 318.8 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.1968, allocations: 31.92 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1969, allocations: 15.98 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.197, allocations: 23.98 kB / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.197, allocations: 0 / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.1972, allocations: 81.66 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1972, allocations: 4 kB / 0.7901 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1972, allocations: 0 / 0.7901 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1972, allocations: 0 / 0.7901 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1973, allocations: 20.02 kB / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1973, allocations: 0 / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.1974, allocations: 4 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.1974, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.6075 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.75e-05/0.1975, allocations: 121.8 kB / 0.7903 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1975, allocations: 0 / 0.7903 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.1975, allocations: 7.062 kB / 0.7903 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1975, allocations: 4 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1975, allocations: 4 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1976, allocations: 0 / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1977, allocations: 165.5 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1977, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.1978, allocations: 8 kB / 0.7904 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1978, allocations: 0 / 0.7904 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1978, allocations: 0 / 0.7904 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1978, allocations: 0 / 0.7904 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1978, allocations: 7.984 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.198, allocations: 175.4 kB / 0.7906 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1981, allocations: 81.09 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1981, allocations: 256 / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1982, allocations: 12.03 kB / 0.7907 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1982, allocations: 11.92 kB / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1982, allocations: 0 / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.1983, allocations: 87.22 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1983, allocations: 0 / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002033/0.1985, allocations: 4 kB / 0.7908 GB, free: 7.879 MB / 0.6075 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.0001107/0.1986, allocations: 99.25 kB / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1988, allocations: 51.95 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1988, allocations: 0 / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.1989, allocations: 28.05 kB / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1991, allocations: 0 / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.1993, allocations: 116.6 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1996, allocations: 0.6848 MB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.178e-05/0.1996, allocations: 0 / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.1996, allocations: 7.438 kB / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.1996, allocations: 4.062 kB / 0.7918 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of Templates: time 0.00197/0.2016, allocations: 357.2 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1) Environment - environmentSimulation: