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.463/1.463, allocations: 252 MB / 268 MB, free: 10.86 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.0009918/0.0009918, allocations: 170.6 kB / 327.6 MB, free: 2.094 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.674/1.674, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008969/0.000897, allocations: 86.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003732, allocations: 13.31 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001493/0.2285, allocations: 1.097 MB / 0.9025 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.2288, allocations: 105.8 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.2288, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.2288, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.2289, allocations: 3.984 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.654e-05/0.229, allocations: 11.98 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.229, allocations: 19.94 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2291, allocations: 11.98 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.2292, allocations: 11.94 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.2293, allocations: 3.984 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2293, allocations: 4 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.2293, allocations: 3.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.2293, allocations: 0 / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.2294, allocations: 37.64 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.315e-05/0.2294, allocations: 15.89 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2294, allocations: 4 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2294, allocations: 0 / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2294, allocations: 4 kB / 0.9028 GB, free: 62.14 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.0004103/0.2299, allocations: 339.5 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2299, allocations: 8.031 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.2299, allocations: 4.938 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.23, allocations: 168.5 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2301, allocations: 4.359 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2301, allocations: 8.375 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2302, allocations: 54.23 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2303, allocations: 192 / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2303, allocations: 3.938 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2303, allocations: 0 / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2305, allocations: 47.91 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.2307, allocations: 256.9 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2309, allocations: 50.5 kB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.231, allocations: 28.89 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.231, allocations: 0 / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.231, allocations: 34.56 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.231, allocations: 0 / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003809/0.2314, allocations: 93.59 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.2315, allocations: 59.39 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.2315, allocations: 97.86 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.2315, allocations: 29.83 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.2316, allocations: 84.14 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2316, allocations: 11.89 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.2316, allocations: 0 / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.2317, allocations: 314.8 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.2318, allocations: 23.98 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.2319, allocations: 19.98 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.232, allocations: 52.81 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.232, allocations: 4.062 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.2323, allocations: 85.45 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2323, allocations: 4 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2323, allocations: 256 / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2323, allocations: 0 / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2324, allocations: 20.02 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2324, allocations: 0 / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.2325, allocations: 15.98 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2325, allocations: 0 / 0.9046 GB, free: 60.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.2326, allocations: 117.8 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2326, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.2326, allocations: 3.125 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2326, allocations: 4 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2327, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2327, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2328, allocations: 165.6 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2328, allocations: 0 / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.2329, allocations: 11.98 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2329, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2329, allocations: 3.938 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2329, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2329, allocations: 0 / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2332, allocations: 179.5 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.2332, allocations: 81.02 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2332, allocations: 4.031 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.2333, allocations: 15.92 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.2334, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2334, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.2334, allocations: 83.28 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2334, allocations: 0 / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002292/0.2337, allocations: 4 kB / 0.9053 GB, free: 59.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.2338, allocations: 107.2 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.234, allocations: 51.84 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.234, allocations: 0 / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.68e-05/0.2342, allocations: 28.05 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2345, allocations: 7.922 kB / 0.9054 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2348, allocations: 134.4 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2349, allocations: 0.677 MB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.2349, allocations: 11.44 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2349, allocations: 0 / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.001805/0.2367, allocations: 0.545 MB / 0.9068 GB, free: 57.66 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)