Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 287.5 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 178.5 kB / 371.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009795/0.0009791, allocations: 92.47 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005138, allocations: 13.91 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2517, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.316, allocations: 139.7 MB / 1.116 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.317, allocations: 83.48 kB / 1.116 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06593/1.383, allocations: 15.98 MB / 1.131 GB, free: 29.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.383, allocations: 0 / 1.131 GB, free: 29.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001077/1.383, allocations: 22.98 kB / 1.131 GB, free: 29.19 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003787/1.387, allocations: 1.247 MB / 1.133 GB, free: 28.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.387, allocations: 15.56 kB / 1.133 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/1.387, allocations: 125.6 kB / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/1.389, allocations: 0.6795 MB / 1.133 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/1.389, allocations: 62.09 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/1.389, allocations: 88.44 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.392, allocations: 0.8335 MB / 1.134 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/1.392, allocations: 7.875 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.392, allocations: 32.25 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.392, allocations: 27.42 kB / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/1.394, allocations: 0.6572 MB / 1.135 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/1.4, allocations: 2.673 MB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/1.403, allocations: 0.7684 MB / 1.138 GB, free: 25.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009856/1.404, allocations: 340.3 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/1.404, allocations: 8.281 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/1.405, allocations: 374.8 kB / 1.139 GB, free: 25.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.928e-06/1.405, allocations: 0 / 1.139 GB, free: 25.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002929/1.408, allocations: 0.8521 MB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.408, allocations: 191.7 kB / 1.14 GB, free: 25.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.41, allocations: 0.7203 MB / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/1.41, allocations: 40.17 kB / 1.141 GB, free: 25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/1.41, allocations: 439.4 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.411, allocations: 206.5 kB / 1.142 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/1.411, allocations: 14.22 kB / 1.142 GB, free: 24.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.411, allocations: 336.3 kB / 1.142 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009867/1.412, allocations: 275.6 kB / 1.142 GB, free: 24.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.413, allocations: 405.5 kB / 1.143 GB, free: 24.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.415, allocations: 0.6117 MB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.415, allocations: 0 / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002407/1.417, allocations: 0.8065 MB / 1.144 GB, free: 23.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.417, allocations: 162.6 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.417, allocations: 0 / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.417, allocations: 3.719 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.418, allocations: 145.4 kB / 1.144 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.418, allocations: 3.906 kB / 1.144 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.42, allocations: 158.8 kB / 1.144 GB, free: 23.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/1.42, allocations: 30.64 kB / 1.144 GB, free: 23.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/1.42, allocations: 3.906 kB / 1.144 GB, free: 23.47 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/1.421, allocations: 0.5603 MB / 1.145 GB, free: 23.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.421, allocations: 0 / 1.145 GB, free: 23.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/1.421, allocations: 7.797 kB / 1.145 GB, free: 23.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/1.422, allocations: 103.5 kB / 1.145 GB, free: 23.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.422, allocations: 4.062 kB / 1.145 GB, free: 23.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009834/1.423, allocations: 122 kB / 1.145 GB, free: 23.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/1.423, allocations: 28.89 kB / 1.145 GB, free: 23.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0006772/1.424, allocations: 301.3 kB / 1.145 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/1.424, allocations: 89.06 kB / 1.146 GB, free: 23.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/1.424, allocations: 92.97 kB / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.424, allocations: 7.625 kB / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.424, allocations: 0 / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.424, allocations: 3.984 kB / 1.146 GB, free: 23.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.427, allocations: 1.466 MB / 1.147 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.428, allocations: 3.812 kB / 1.147 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.429, allocations: 130.1 kB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.429, allocations: 0 / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.429, allocations: 17.42 kB / 1.147 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.429, allocations: 3.688 kB / 1.147 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.429, allocations: 0 / 1.147 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/1.432, allocations: 1.055 MB / 1.148 GB, free: 22.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/1.432, allocations: 176.5 kB / 1.148 GB, free: 21.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.432, allocations: 10.31 kB / 1.148 GB, free: 21.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/1.433, allocations: 68.33 kB / 1.149 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/1.433, allocations: 43.34 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/1.433, allocations: 18.84 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009093/1.434, allocations: 0.498 MB / 1.149 GB, free: 21.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.62e-07/1.434, allocations: 0 / 1.149 GB, free: 21.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001211/1.435, allocations: 312.2 kB / 1.149 GB, free: 21.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002948/1.436, allocations: 132.3 kB / 1.15 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002974/1.439, allocations: 1.049 MB / 1.151 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.439, allocations: 3 kB / 1.151 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/1.44, allocations: 309.6 kB / 1.151 GB, free: 21.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.441, allocations: 165 kB / 1.151 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/1.445, allocations: 1.736 MB / 1.153 GB, free: 20.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/1.445, allocations: 0.9836 MB / 1.154 GB, free: 19.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007112/1.446, allocations: 104.3 kB / 1.154 GB, free: 19.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/1.446, allocations: 61.23 kB / 1.154 GB, free: 19.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.446, allocations: 0 / 1.154 GB, free: 19.29 MB / 0.698 GB Notification: Performance of Templates: time 0.0266/1.473, allocations: 8.621 MB / 1.162 GB, free: 12.97 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)