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.304/1.304, allocations: 252 MB / 267.9 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.001032/0.001032, allocations: 182.2 kB / 327.6 MB, free: 2.164 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.581/1.581, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0008473/0.000847, allocations: 100.3 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004108, allocations: 16.97 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.3189, allocations: 131.4 MB / 1.03 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.3191, allocations: 75.94 kB / 1.03 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001394/0.3205, allocations: 0.6103 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3205, allocations: 3.938 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3205, allocations: 0 / 1.03 GB, free: 11.82 MB / 0.6823 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.0003425/0.3209, allocations: 348.5 kB / 1.031 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3209, allocations: 8.031 kB / 1.031 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.3209, allocations: 0.9375 kB / 1.031 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3211, allocations: 172.2 kB / 1.031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3211, allocations: 384 / 1.031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3211, allocations: 384 / 1.031 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3212, allocations: 58.23 kB / 1.031 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3213, allocations: 4.125 kB / 1.031 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3213, allocations: 3.938 kB / 1.031 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3213, allocations: 4 kB / 1.031 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.3214, allocations: 47.95 kB / 1.031 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3218, allocations: 261 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3219, allocations: 50.48 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.322, allocations: 24.91 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.322, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3221, allocations: 34.5 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3221, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002966/0.3224, allocations: 101.6 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3224, allocations: 51.41 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.3225, allocations: 97.86 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3225, allocations: 29.83 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.3226, allocations: 92.12 kB / 1.032 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.3226, allocations: 3.906 kB / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.3226, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.3227, allocations: 310.8 kB / 1.032 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.3228, allocations: 23.98 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3229, allocations: 27.91 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.323, allocations: 48.83 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.323, allocations: 4.062 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001748/0.3232, allocations: 85.53 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3232, allocations: 4 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3232, allocations: 0 / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3232, allocations: 0 / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.3233, allocations: 15.97 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.3233, allocations: 0 / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.3234, allocations: 15.89 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3234, allocations: 3.984 kB / 1.032 GB, free: 9.707 MB / 0.6823 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.244e-05/0.3235, allocations: 113.8 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3235, allocations: 3.938 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.3235, allocations: 11.11 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3235, allocations: 4 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3235, allocations: 256 / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3235, allocations: 4 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3237, allocations: 161.6 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3237, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.3237, allocations: 11.98 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3238, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.3238, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3238, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3238, allocations: 0 / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.324, allocations: 179.5 kB / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.324, allocations: 77.11 kB / 1.033 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.3241, allocations: 4.031 kB / 1.033 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.3241, allocations: 11.98 kB / 1.033 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.3242, allocations: 0 / 1.033 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3242, allocations: 0 / 1.033 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.3242, allocations: 91.2 kB / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 0 / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001887/0.3244, allocations: 4 kB / 1.033 GB, free: 8.949 MB / 0.6823 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.0001173/0.3245, allocations: 103.2 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3247, allocations: 43.97 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3247, allocations: 0 / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3248, allocations: 32.03 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3251, allocations: 6.172 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.3253, allocations: 120.5 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3256, allocations: 0.6731 MB / 1.034 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.3256, allocations: 4 kB / 1.034 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.3256, allocations: 11.5 kB / 1.034 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3256, allocations: 0 / 1.034 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of Templates: time 0.001838/0.3275, allocations: 353.7 kB / 1.034 GB, free: 7.555 MB / 0.6823 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)