Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.817/2.817, allocations: 287.5 MB / 303.2 MB, free: 8.289 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.001462/0.001461, allocations: 171 kB / 371.8 MB, free: 10.83 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.115/2.115, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008748/0.0008746, allocations: 90.56 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004917, allocations: 14.81 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9411/1.162, allocations: 139.4 MB / 1.115 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.163, allocations: 78.2 kB / 1.115 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0531/1.216, allocations: 13.78 MB / 1.129 GB, free: 30.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/1.216, allocations: 0 / 1.129 GB, free: 30.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.233e-05/1.216, allocations: 26.91 kB / 1.129 GB, free: 30.2 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003124/1.219, allocations: 1.164 MB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.219, allocations: 7.688 kB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/1.22, allocations: 113.4 kB / 1.13 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.221, allocations: 0.6174 MB / 1.131 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/1.221, allocations: 67.16 kB / 1.131 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.221, allocations: 94.53 kB / 1.131 GB, free: 28.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/1.224, allocations: 0.8597 MB / 1.132 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/1.224, allocations: 7.875 kB / 1.132 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.224, allocations: 40.89 kB / 1.132 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/1.224, allocations: 26.81 kB / 1.132 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/1.226, allocations: 0.6368 MB / 1.133 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/1.231, allocations: 2.513 MB / 1.135 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.234, allocations: 1.333 MB / 1.136 GB, free: 26.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.235, allocations: 370.9 kB / 1.137 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/1.235, allocations: 12.08 kB / 1.137 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.236, allocations: 351.8 kB / 1.137 GB, free: 26.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.897e-06/1.236, allocations: 0 / 1.137 GB, free: 26.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002566/1.239, allocations: 0.8273 MB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.239, allocations: 166.4 kB / 1.138 GB, free: 25.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.24, allocations: 0.5993 MB / 1.139 GB, free: 25.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/1.24, allocations: 44.42 kB / 1.139 GB, free: 25.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/1.24, allocations: 404.8 kB / 1.139 GB, free: 25.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.241, allocations: 238.9 kB / 1.139 GB, free: 25.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/1.241, allocations: 14.19 kB / 1.139 GB, free: 25.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.241, allocations: 332.2 kB / 1.14 GB, free: 24.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/1.242, allocations: 224.3 kB / 1.14 GB, free: 24.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/1.242, allocations: 339.8 kB / 1.14 GB, free: 24.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.244, allocations: 0.5063 MB / 1.141 GB, free: 24.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.244, allocations: 0 / 1.141 GB, free: 24.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002023/1.246, allocations: 0.6701 MB / 1.141 GB, free: 24.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/1.246, allocations: 98.64 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.246, allocations: 0 / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/1.246, allocations: 3.969 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.247, allocations: 158.6 kB / 1.141 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.247, allocations: 3.938 kB / 1.141 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/1.248, allocations: 103.5 kB / 1.142 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.248, allocations: 26.45 kB / 1.142 GB, free: 24.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.248, allocations: 3.75 kB / 1.142 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/1.249, allocations: 461 kB / 1.142 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.249, allocations: 0 / 1.142 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/1.249, allocations: 3.906 kB / 1.142 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/1.25, allocations: 120.8 kB / 1.142 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.25, allocations: 3.844 kB / 1.142 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/1.251, allocations: 80.69 kB / 1.142 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/1.251, allocations: 19 kB / 1.142 GB, free: 24.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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 0.000655/1.252, allocations: 291.9 kB / 1.143 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/1.252, allocations: 76 kB / 1.143 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/1.252, allocations: 87.64 kB / 1.143 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.252, allocations: 7.672 kB / 1.143 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.252, allocations: 3.844 kB / 1.143 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/1.252, allocations: 0 / 1.143 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/1.255, allocations: 1.605 MB / 1.144 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.256, allocations: 0 / 1.144 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.257, allocations: 146.3 kB / 1.144 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/1.257, allocations: 3.938 kB / 1.144 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/1.257, allocations: 18.31 kB / 1.144 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.257, allocations: 3.844 kB / 1.144 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.257, allocations: 4 kB / 1.144 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/1.26, allocations: 1.039 MB / 1.145 GB, free: 22.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/1.26, allocations: 154.7 kB / 1.146 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/1.26, allocations: 15.53 kB / 1.146 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/1.261, allocations: 56.55 kB / 1.146 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/1.261, allocations: 35.23 kB / 1.146 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/1.261, allocations: 25.67 kB / 1.146 GB, free: 22.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00075/1.262, allocations: 422.2 kB / 1.146 GB, free: 22.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/1.262, allocations: 0 / 1.146 GB, free: 22.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001/1.263, allocations: 292.8 kB / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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.0002677/1.263, allocations: 128.9 kB / 1.147 GB, free: 22.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002307/1.265, allocations: 0.8145 MB / 1.147 GB, free: 22.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.265, allocations: 3.75 kB / 1.147 GB, free: 22.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008525/1.266, allocations: 312.6 kB / 1.148 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.267, allocations: 140.1 kB / 1.148 GB, free: 22.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.271, allocations: 1.825 MB / 1.15 GB, free: 21.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/1.272, allocations: 0.9797 MB / 1.15 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006892/1.273, allocations: 86.98 kB / 1.151 GB, free: 20.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/1.273, allocations: 64.64 kB / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.273, allocations: 4 kB / 1.151 GB, free: 20.25 MB / 0.698 GB Notification: Performance of Templates: time 0.02195/1.295, allocations: 6.609 MB / 1.157 GB, free: 17.11 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)