Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 161.4 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.06/2.06, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 0 / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.063e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005364/0.005395, allocations: 2.938 MB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.0099, allocations: 1.831 MB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.01074, allocations: 22.88 kB / 0.78 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.01121, allocations: 162.2 kB / 0.7801 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.01177, allocations: 154.5 kB / 0.7803 GB, free: 232 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.0123, allocations: 359.5 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.01318, allocations: 1.1 MB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.01375, allocations: 446.7 kB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/0.01427, allocations: 0.6002 MB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.01454, allocations: 326.8 kB / 0.783 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.01465, allocations: 120.6 kB / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.01473, allocations: 120 kB / 0.7832 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.01487, allocations: 258.5 kB / 0.7835 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.01505, allocations: 315.1 kB / 0.7838 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.01564, allocations: 0.7156 MB / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.01564, allocations: 4 kB / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01564, allocations: 0 / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.01565, allocations: 0 / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001248/0.0169, allocations: 1.177 MB / 0.7856 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01694, allocations: 13.86 kB / 0.7856 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.01707, allocations: 149.8 kB / 0.7858 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.01752, allocations: 390.8 kB / 0.7862 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.01757, allocations: 75.81 kB / 0.7862 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.01766, allocations: 104.3 kB / 0.7863 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.0183, allocations: 0.7452 MB / 0.7871 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01832, allocations: 4.172 kB / 0.7871 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.01836, allocations: 37.06 kB / 0.7871 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.01837, allocations: 24.38 kB / 0.7871 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.01865, allocations: 219.5 kB / 0.7873 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.02071, allocations: 1.803 MB / 0.7891 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.02117, allocations: 396.5 kB / 0.7895 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.02132, allocations: 174.6 kB / 0.7896 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.02136, allocations: 25.55 kB / 0.7897 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.02158, allocations: 216.3 kB / 0.7899 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.487e-06/0.02158, allocations: 0.5 kB / 0.7899 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0004453/0.02203, allocations: 369.8 kB / 0.7902 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.0221, allocations: 163.9 kB / 0.7904 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.02239, allocations: 427.2 kB / 0.7908 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.02242, allocations: 45.69 kB / 0.7908 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.02259, allocations: 346.9 kB / 0.7912 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.02272, allocations: 269.6 kB / 0.7914 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.02284, allocations: 131.5 kB / 0.7915 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02295, allocations: 386.6 kB / 0.7919 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.02309, allocations: 77.77 kB / 0.792 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.0233, allocations: 398.8 kB / 0.7924 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.02357, allocations: 271.5 kB / 0.7926 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02357, allocations: 0 / 0.7926 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0003331/0.02391, allocations: 333.2 kB / 0.7929 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02392, allocations: 8 kB / 0.7929 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.02393, allocations: 0 / 0.7929 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.02394, allocations: 4.812 kB / 0.793 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.02425, allocations: 151.8 kB / 0.7931 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.02426, allocations: 8.969 kB / 0.7931 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.02443, allocations: 73.34 kB / 0.7932 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.02446, allocations: 16 kB / 0.7932 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001742/0.02463, allocations: 166.1 kB / 0.7933 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002139/0.02484, allocations: 395 kB / 0.7937 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002333/0.02508, allocations: 254.9 kB / 0.794 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.02508, allocations: 5.609 kB / 0.794 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0003028/0.02538, allocations: 327.4 kB / 0.7943 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.02539, allocations: 4.906 kB / 0.7943 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.02539, allocations: 0 / 0.7943 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.0254, allocations: 11.94 kB / 0.7943 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.02567, allocations: 144.9 kB / 0.7944 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.02567, allocations: 4 kB / 0.7944 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.02581, allocations: 68.16 kB / 0.7945 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.02583, allocations: 20.88 kB / 0.7945 GB, free: 1.141 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.02595, allocations: 212.1 kB / 0.7947 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.02601, allocations: 73.03 kB / 0.7948 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.02635, allocations: 328.6 kB / 0.7951 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.02636, allocations: 9.906 kB / 0.7951 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.02636, allocations: 0 / 0.7951 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.02636, allocations: 7.922 kB / 0.7951 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.02735, allocations: 0.8632 MB / 0.796 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02735, allocations: 0 / 0.796 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.02765, allocations: 139.8 kB / 0.7961 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.02765, allocations: 5.75 kB / 0.7961 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.02767, allocations: 12 kB / 0.7961 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.02768, allocations: 11.69 kB / 0.7961 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02768, allocations: 4 kB / 0.7961 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.02818, allocations: 0.5647 MB / 0.7967 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.02824, allocations: 63.45 kB / 0.7968 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.02828, allocations: 24.75 kB / 0.7968 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02842, allocations: 28.72 kB / 0.7968 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.02847, allocations: 52.56 kB / 0.7969 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.02849, allocations: 14.09 kB / 0.7969 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001456/0.02864, allocations: 192.4 kB / 0.7971 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.02864, allocations: 0 / 0.7971 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004662/0.0291, allocations: 338.7 kB / 0.7974 GB, free: 14.15 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.02926, allocations: 112.1 kB / 0.7975 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.02977, allocations: 494.5 kB / 0.798 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.02978, allocations: 4 kB / 0.798 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.02993, allocations: 173.8 kB / 0.7981 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.03036, allocations: 158.6 kB / 0.7983 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.03182, allocations: 1.375 MB / 0.7996 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.03194, allocations: 168.6 kB / 0.7998 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.03216, allocations: 80.69 kB / 0.7999 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.03244, allocations: 189.3 kB / 0.8 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of SimCode: time 1.392e-06/0.03244, allocations: 0 / 0.8 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of Templates: time 0.01227/0.04471, allocations: 8.179 MB / 0.808 GB, free: 3.457 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.411590381991118]