Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.847/2.847, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002086/0.002086, allocations: 184.4 kB / 371 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 86.92 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006373, allocations: 15.06 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2185, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9279/1.147, allocations: 139.7 MB / 1.115 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.147, allocations: 76.73 kB / 1.115 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04533/1.192, allocations: 10.63 MB / 1.125 GB, free: 30.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/1.192, allocations: 0 / 1.125 GB, free: 30.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.656e-05/1.192, allocations: 11.69 kB / 1.125 GB, free: 30.7 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002365/1.195, allocations: 0.8915 MB / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.195, allocations: 7.719 kB / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/1.195, allocations: 73.78 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.196, allocations: 475.4 kB / 1.127 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/1.197, allocations: 41.06 kB / 1.127 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.197, allocations: 55.62 kB / 1.127 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.198, allocations: 0.4928 MB / 1.127 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.198, allocations: 4 kB / 1.127 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/1.198, allocations: 21.8 kB / 1.127 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.198, allocations: 11.5 kB / 1.127 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/1.199, allocations: 359.9 kB / 1.128 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/1.203, allocations: 1.589 MB / 1.129 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.205, allocations: 0.9086 MB / 1.13 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/1.205, allocations: 3.844 kB / 1.13 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007447/1.206, allocations: 268.9 kB / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.857e-06/1.206, allocations: 0 / 1.13 GB, free: 28.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001793/1.207, allocations: 0.5528 MB / 1.131 GB, free: 28.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/1.208, allocations: 110.9 kB / 1.131 GB, free: 28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/1.208, allocations: 352.9 kB / 1.131 GB, free: 27.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.208, allocations: 40.83 kB / 1.131 GB, free: 27.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/1.209, allocations: 267.2 kB / 1.132 GB, free: 27.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.209, allocations: 145.2 kB / 1.132 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/1.209, allocations: 18.12 kB / 1.132 GB, free: 27.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.209, allocations: 361.3 kB / 1.132 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/1.21, allocations: 188.3 kB / 1.132 GB, free: 27.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/1.21, allocations: 290.7 kB / 1.133 GB, free: 27.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/1.211, allocations: 271.3 kB / 1.133 GB, free: 26.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.211, allocations: 0 / 1.133 GB, free: 26.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001776/1.213, allocations: 0.6356 MB / 1.133 GB, free: 26.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/1.213, allocations: 0.6743 MB / 1.134 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.213, allocations: 3.844 kB / 1.134 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.213, allocations: 3.844 kB / 1.134 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/1.214, allocations: 97.17 kB / 1.134 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.214, allocations: 0 / 1.134 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.215, allocations: 139.6 kB / 1.134 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/1.215, allocations: 26.14 kB / 1.134 GB, free: 26.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.215, allocations: 7.781 kB / 1.134 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/1.217, allocations: 0.5231 MB / 1.135 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.217, allocations: 0 / 1.135 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.217, allocations: 7.812 kB / 1.135 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/1.217, allocations: 84.86 kB / 1.135 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.217, allocations: 11.84 kB / 1.135 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/1.218, allocations: 108.5 kB / 1.135 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/1.218, allocations: 25.98 kB / 1.135 GB, free: 25.81 MB / 0.698 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 () * Number of clocked 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.0004899/1.219, allocations: 257.3 kB / 1.135 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.219, allocations: 46.06 kB / 1.135 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/1.219, allocations: 53.53 kB / 1.135 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.219, allocations: 15.55 kB / 1.135 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.219, allocations: 0 / 1.135 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.219, allocations: 3.984 kB / 1.135 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/1.221, allocations: 1.081 MB / 1.137 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.221, allocations: 3.953 kB / 1.137 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/1.222, allocations: 83.23 kB / 1.137 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.222, allocations: 0 / 1.137 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/1.222, allocations: 11.66 kB / 1.137 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/1.222, allocations: 3.969 kB / 1.137 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.222, allocations: 3.984 kB / 1.137 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.224, allocations: 0.712 MB / 1.137 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/1.224, allocations: 135.8 kB / 1.137 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/1.224, allocations: 10.84 kB / 1.137 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/1.225, allocations: 34.09 kB / 1.137 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/1.225, allocations: 27.88 kB / 1.138 GB, free: 24.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/1.225, allocations: 15.23 kB / 1.138 GB, free: 24.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004351/1.225, allocations: 278.2 kB / 1.138 GB, free: 24.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.225, allocations: 0 / 1.138 GB, free: 24.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000995/1.226, allocations: 223.4 kB / 1.138 GB, free: 24.48 MB / 0.698 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 () * Number of clocked 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.0002761/1.227, allocations: 132.7 kB / 1.138 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002215/1.229, allocations: 0.9502 MB / 1.139 GB, free: 24.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.229, allocations: 0 / 1.139 GB, free: 24.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.23, allocations: 199.2 kB / 1.139 GB, free: 24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/1.23, allocations: 84.81 kB / 1.139 GB, free: 23.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.233, allocations: 1.115 MB / 1.14 GB, free: 23.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/1.233, allocations: 0.8695 MB / 1.141 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004451/1.234, allocations: 57.72 kB / 1.141 GB, free: 22.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/1.234, allocations: 41.19 kB / 1.141 GB, free: 22.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.234, allocations: 4 kB / 1.141 GB, free: 22.46 MB / 0.698 GB Notification: Performance of Templates: time 0.01905/1.253, allocations: 6.425 MB / 1.148 GB, free: 19.32 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)