Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.9 MB / 297.4 MB, free: 6.316 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.001035/0.001036, allocations: 180.8 kB / 366.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.3 MB / 0.626 GB, free: 7.129 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009143/0.0009141, allocations: 85.08 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.486e-05, allocations: 8 kB / 0.8597 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.7071, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.8945, allocations: 140.1 MB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.8947, allocations: 75.95 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02868/0.9234, allocations: 10.54 MB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9235, allocations: 0 / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.656e-05/0.9235, allocations: 16 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001202/0.9248, allocations: 0.795 MB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9248, allocations: 12.03 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.925, allocations: 71.16 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.9257, allocations: 468.7 kB / 1.122 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.9258, allocations: 16 kB / 1.122 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.9259, allocations: 36 kB / 1.122 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005009/0.9264, allocations: 282.5 kB / 1.122 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.927, allocations: 401.1 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.9271, allocations: 1.781 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.9271, allocations: 3.984 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.9271, allocations: 12 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.9293, allocations: 1.484 MB / 1.124 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.93, allocations: 0.8094 MB / 1.125 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.9302, allocations: 168.8 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.9303, allocations: 4 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.9307, allocations: 222.1 kB / 1.125 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 2.494e-06/0.9307, allocations: 0 / 1.125 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47): time 0.0006/0.9313, allocations: 343.5 kB / 1.125 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.9313, allocations: 111.2 kB / 1.126 GB, free: 10 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.9317, allocations: 302.3 kB / 1.126 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.9317, allocations: 29.7 kB / 1.126 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.9319, allocations: 268.8 kB / 1.126 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.9321, allocations: 141.8 kB / 1.126 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.9321, allocations: 4 kB / 1.126 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9322, allocations: 358.8 kB / 1.127 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.9325, allocations: 149.1 kB / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.9328, allocations: 242.4 kB / 1.127 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.9333, allocations: 191.7 kB / 1.127 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9333, allocations: 0 / 1.127 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009087/0.9342, allocations: 499.3 kB / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.9345, allocations: 0.6877 MB / 1.128 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9345, allocations: 0 / 1.128 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9346, allocations: 5.875 kB / 1.128 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.9349, allocations: 87.89 kB / 1.128 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.935, allocations: 7.938 kB / 1.128 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.9355, allocations: 119.6 kB / 1.129 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.9355, allocations: 27.92 kB / 1.129 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.9355, allocations: 4 kB / 1.129 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008375/0.9364, allocations: 430.2 kB / 1.129 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.9364, allocations: 0 / 1.129 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.9364, allocations: 4 kB / 1.129 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.9367, allocations: 75.91 kB / 1.129 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9367, allocations: 8.156 kB / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.9372, allocations: 103.6 kB / 1.129 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.9372, allocations: 23.98 kB / 1.129 GB, free: 6.176 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001602/0.9374, allocations: 124.8 kB / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.9375, allocations: 39.53 kB / 1.129 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.9376, allocations: 41.69 kB / 1.129 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9376, allocations: 8.141 kB / 1.129 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.9376, allocations: 7.984 kB / 1.129 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9376, allocations: 3.984 kB / 1.129 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9389, allocations: 0.9241 MB / 1.13 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9389, allocations: 0 / 1.13 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.9393, allocations: 75.91 kB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.9393, allocations: 4 kB / 1.13 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.9393, allocations: 9.297 kB / 1.13 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.9393, allocations: 3.953 kB / 1.13 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.9393, allocations: 0 / 1.13 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.9401, allocations: 0.5997 MB / 1.131 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.9402, allocations: 124.5 kB / 1.131 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.9402, allocations: 1.5 kB / 1.131 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.9405, allocations: 27.97 kB / 1.131 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.9405, allocations: 28.36 kB / 1.131 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.9406, allocations: 21.73 kB / 1.131 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002131/0.9408, allocations: 220.6 kB / 1.131 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9408, allocations: 0 / 1.131 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00059/0.9414, allocations: 199.2 kB / 1.132 GB, free: 3.645 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002344/0.9416, allocations: 143 kB / 1.132 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.9427, allocations: 0.8521 MB / 1.133 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9427, allocations: 0 / 1.133 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.9429, allocations: 165.6 kB / 1.133 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.9435, allocations: 74.61 kB / 1.133 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.9445, allocations: 0.6713 MB / 1.133 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.9449, allocations: 0.8713 MB / 1.134 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003028/0.9452, allocations: 76.59 kB / 1.134 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.9453, allocations: 35.42 kB / 1.134 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9453, allocations: 4 kB / 1.134 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of Templates: time 0.01082/0.9562, allocations: 6.345 MB / 1.141 GB, free: 10.48 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)