Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 172.4 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007723/0.0007725, allocations: 86.36 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 11.12 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 106.3 MB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001319/0.2023, allocations: 1.093 MB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.2026, allocations: 97.86 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.2026, allocations: 0 / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.2027, allocations: 3.984 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.2027, allocations: 3.938 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.892e-05/0.2028, allocations: 8 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.2028, allocations: 27.91 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.2029, allocations: 0 / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.203, allocations: 11.98 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.203, allocations: 11.94 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.203, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.2031, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.2031, allocations: 7.984 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.2031, allocations: 25.7 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.633e-05/0.2031, allocations: 19.97 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2032, allocations: 0 / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2032, allocations: 0 / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2032, allocations: 0 / 0.9021 GB, free: 62.53 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.000356/0.2035, allocations: 340.1 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2036, allocations: 12.03 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.2036, allocations: 0 / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.899e-05/0.2037, allocations: 171.2 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2037, allocations: 11.94 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.2037, allocations: 7.984 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.2039, allocations: 57.67 kB / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2039, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2039, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2039, allocations: 0 / 0.9027 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2041, allocations: 43.95 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.2044, allocations: 256.9 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2045, allocations: 42.55 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.2046, allocations: 36.84 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.2046, allocations: 0 / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2046, allocations: 30.56 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2046, allocations: 0 / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.205, allocations: 105.6 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.205, allocations: 51.41 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.2051, allocations: 101.8 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.2051, allocations: 25.7 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.2051, allocations: 84.14 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2051, allocations: 8.016 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.2051, allocations: 4 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.2052, allocations: 318.8 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.2053, allocations: 19.98 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.2053, allocations: 23.97 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.2054, allocations: 24.05 kB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2054, allocations: 0 / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.2056, allocations: 81.61 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2056, allocations: 7.984 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2057, allocations: 0 / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2057, allocations: 4 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.2058, allocations: 8 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2058, allocations: 0 / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.2058, allocations: 11.89 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2058, allocations: 4 kB / 0.9039 GB, free: 60.46 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 4.387e-05/0.2059, allocations: 117.8 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2059, allocations: 0 / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.2059, allocations: 15.06 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2059, allocations: 3.984 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2059, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.206, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2061, allocations: 157.6 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2061, allocations: 0 / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.2061, allocations: 15.98 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2061, allocations: 0 / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2061, allocations: 4 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2062, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2062, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2064, allocations: 179.4 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.2064, allocations: 77.11 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2064, allocations: 4.25 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.2065, allocations: 11.98 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.2065, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2065, allocations: 7.938 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.2065, allocations: 91.3 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2066, allocations: 0 / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001902/0.2068, allocations: 4 kB / 0.9046 GB, free: 59.69 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 9.288e-05/0.2068, allocations: 95.25 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2071, allocations: 47.97 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2071, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.2071, allocations: 31.91 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2074, allocations: 7.953 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.2076, allocations: 142.4 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.056e-05/0.2077, allocations: 0.677 MB / 0.9056 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.2078, allocations: 7.438 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2078, allocations: 0 / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.00147/0.2092, allocations: 0.5534 MB / 0.9061 GB, free: 58.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)