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.001034/0.001034, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001096/0.001096, allocations: 165.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 0.9569/0.9569, 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 1.892/1.892, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.182e-06/1.182e-06, allocations: 0 / 0.7752 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.461e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.002888/0.002903, allocations: 2.893 MB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.005393, allocations: 1.837 MB / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.005698, allocations: 19.94 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.005963, allocations: 166.2 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.006286, allocations: 151.2 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.006707, allocations: 355.5 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008113/0.007518, allocations: 1.104 MB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.008031, allocations: 442.7 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.008542, allocations: 0.6041 MB / 0.7826 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.008789, allocations: 324.4 kB / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.008933, allocations: 120 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.009025, allocations: 121.5 kB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.00922, allocations: 255 kB / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.00951, allocations: 315.1 kB / 0.7837 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.01016, allocations: 0.7195 MB / 0.7844 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.01016, allocations: 1 kB / 0.7844 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01017, allocations: 0 / 0.7844 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.01017, allocations: 0 / 0.7844 GB, free: 11.9 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.001139/0.01131, allocations: 1.183 MB / 0.7855 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01135, allocations: 9.344 kB / 0.7856 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01147, allocations: 144.8 kB / 0.7857 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.01189, allocations: 396.8 kB / 0.7861 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.01194, allocations: 74.38 kB / 0.7861 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.01202, allocations: 100.3 kB / 0.7862 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.01262, allocations: 0.7379 MB / 0.787 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01263, allocations: 192 / 0.787 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.01267, allocations: 40.38 kB / 0.787 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.01269, allocations: 25.09 kB / 0.787 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.01293, allocations: 218.2 kB / 0.7872 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.01479, allocations: 1.807 MB / 0.789 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.01522, allocations: 404.5 kB / 0.7894 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01537, allocations: 174.6 kB / 0.7895 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.0154, allocations: 21.89 kB / 0.7896 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.01559, allocations: 212.3 kB / 0.7898 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 1.933e-06/0.01559, allocations: 0 / 0.7898 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0004171/0.01601, allocations: 371.6 kB / 0.7901 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.01607, allocations: 162.9 kB / 0.7903 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.01632, allocations: 427.2 kB / 0.7907 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.01635, allocations: 41.7 kB / 0.7907 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.0165, allocations: 351.3 kB / 0.7911 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.01662, allocations: 269.6 kB / 0.7913 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.01673, allocations: 126.6 kB / 0.7914 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01686, allocations: 382.6 kB / 0.7918 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01697, allocations: 77.48 kB / 0.7919 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.01718, allocations: 407.7 kB / 0.7923 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01742, allocations: 264.1 kB / 0.7925 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01742, allocations: 0 / 0.7925 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0003137/0.01773, allocations: 331.4 kB / 0.7928 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01775, allocations: 9.125 kB / 0.7928 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01775, allocations: 0 / 0.7928 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01777, allocations: 4 kB / 0.7928 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.01805, allocations: 148.8 kB / 0.793 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01806, allocations: 7.938 kB / 0.793 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.0182, allocations: 72.8 kB / 0.7931 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.01822, allocations: 20 kB / 0.7931 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001487/0.01837, allocations: 159.1 kB / 0.7932 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001938/0.01856, allocations: 390.8 kB / 0.7936 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002061/0.01877, allocations: 263.1 kB / 0.7939 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.01877, allocations: 4.969 kB / 0.7939 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0002754/0.01905, allocations: 325.1 kB / 0.7942 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.01905, allocations: 10.5 kB / 0.7942 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.01906, allocations: 0 / 0.7942 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.01906, allocations: 4 kB / 0.7942 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.01929, allocations: 141.2 kB / 0.7943 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01929, allocations: 7.984 kB / 0.7943 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01942, allocations: 67.61 kB / 0.7944 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01943, allocations: 20.86 kB / 0.7944 GB, free: 1.199 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.000106/0.01954, allocations: 216.1 kB / 0.7946 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.0196, allocations: 68.66 kB / 0.7947 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.01991, allocations: 329.6 kB / 0.795 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01992, allocations: 8 kB / 0.795 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01992, allocations: 3.938 kB / 0.795 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01993, allocations: 4.922 kB / 0.795 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.02081, allocations: 0.8636 MB / 0.7959 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02082, allocations: 0 / 0.7959 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.02107, allocations: 131.8 kB / 0.796 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.02108, allocations: 7.984 kB / 0.796 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.0211, allocations: 19.02 kB / 0.796 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.02111, allocations: 11.88 kB / 0.796 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.02111, allocations: 4 kB / 0.796 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.02159, allocations: 0.556 MB / 0.7966 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.02165, allocations: 71.42 kB / 0.7966 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.02169, allocations: 16 kB / 0.7967 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.02182, allocations: 41.41 kB / 0.7967 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.02186, allocations: 40.58 kB / 0.7967 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.02188, allocations: 19.98 kB / 0.7968 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001277/0.02201, allocations: 190.1 kB / 0.7969 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02201, allocations: 0 / 0.7969 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00038/0.02239, allocations: 342.7 kB / 0.7973 GB, free: 14.21 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.0001313/0.02252, allocations: 105.3 kB / 0.7974 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.02296, allocations: 492.2 kB / 0.7978 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.02297, allocations: 8.656 kB / 0.7978 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.02311, allocations: 179.5 kB / 0.798 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.02349, allocations: 155.8 kB / 0.7982 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02484, allocations: 1.367 MB / 0.7995 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.02494, allocations: 171.7 kB / 0.7997 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.02512, allocations: 83.92 kB / 0.7997 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.02536, allocations: 193.2 kB / 0.7999 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of SimCode: time 6.82e-07/0.02536, allocations: 3.938 kB / 0.7999 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of Templates: time 0.01084/0.0362, allocations: 8.167 MB / 0.8079 GB, free: 3.516 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.04028462106362]