Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.03 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2567, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005932/0.2627, allocations: 4.393 MB / 0.7878 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.2654, allocations: 1.057 MB / 0.7889 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.2663, allocations: 19.94 kB / 0.7889 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.2668, allocations: 138.7 kB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/0.2674, allocations: 95.19 kB / 0.7891 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.2681, allocations: 331.7 kB / 0.7894 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.2694, allocations: 1.147 MB / 0.7905 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009192/0.2703, allocations: 0.6668 MB / 0.7912 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.2708, allocations: 414.1 kB / 0.7916 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.2712, allocations: 485.3 kB / 0.792 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.2714, allocations: 128 kB / 0.7922 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2715, allocations: 124 kB / 0.7923 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2717, allocations: 271.1 kB / 0.7925 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.2721, allocations: 0.5126 MB / 0.793 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2732, allocations: 1.138 MB / 0.7941 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2732, allocations: 0 / 0.7941 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2732, allocations: 0 / 0.7941 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.2732, allocations: 0 / 0.7941 GB, free: 2.918 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002185/0.2754, allocations: 1.395 MB / 0.7955 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2755, allocations: 12.03 kB / 0.7955 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.2757, allocations: 127.4 kB / 0.7956 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.2765, allocations: 0.6256 MB / 0.7963 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.2766, allocations: 74.38 kB / 0.7963 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.2767, allocations: 96.38 kB / 0.7964 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2782, allocations: 0.9023 MB / 0.7973 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.2782, allocations: 192 / 0.7973 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.616e-05/0.2783, allocations: 43.88 kB / 0.7973 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2783, allocations: 24 kB / 0.7974 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2795, allocations: 0.6519 MB / 0.798 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.2837, allocations: 2.853 MB / 0.8008 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.285, allocations: 0.6911 MB / 0.8015 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.2856, allocations: 406.9 kB / 0.8018 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.2857, allocations: 12.64 kB / 0.8019 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007893/0.2865, allocations: 356.3 kB / 0.8022 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/0.2865, allocations: 4 kB / 0.8022 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001734/0.2882, allocations: 0.8288 MB / 0.803 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2884, allocations: 174.8 kB / 0.8032 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.2892, allocations: 0.6293 MB / 0.8038 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.2893, allocations: 37.7 kB / 0.8038 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.2896, allocations: 460.2 kB / 0.8043 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.2898, allocations: 264.1 kB / 0.8045 GB, free: 8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.29, allocations: 130.7 kB / 0.8046 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2902, allocations: 330 kB / 0.805 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.2907, allocations: 256.7 kB / 0.8052 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.2912, allocations: 378 kB / 0.8056 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.2922, allocations: 0.5574 MB / 0.8061 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2922, allocations: 0 / 0.8061 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001274/0.2935, allocations: 0.7465 MB / 0.8068 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2935, allocations: 4 kB / 0.8068 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2936, allocations: 0 / 0.8068 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2936, allocations: 11.94 kB / 0.8069 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.2942, allocations: 159.8 kB / 0.807 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.2942, allocations: 11.92 kB / 0.807 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.2946, allocations: 99.23 kB / 0.8071 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.2947, allocations: 20 kB / 0.8071 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005628/0.2953, allocations: 366.7 kB / 0.8075 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004112/0.2957, allocations: 330.1 kB / 0.8078 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006413/0.2963, allocations: 486.8 kB / 0.8083 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2963, allocations: 0 / 0.8083 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0009355/0.2973, allocations: 0.645 MB / 0.8089 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2973, allocations: 11.94 kB / 0.8089 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2973, allocations: 0 / 0.8089 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.2973, allocations: 4 kB / 0.8089 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.2978, allocations: 139.8 kB / 0.809 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2978, allocations: 4 kB / 0.809 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.2981, allocations: 75.48 kB / 0.8091 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2982, allocations: 23.94 kB / 0.8091 GB, free: 3.129 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0002787/0.2985, allocations: 228.2 kB / 0.8094 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2986, allocations: 86.89 kB / 0.8094 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2988, allocations: 92.25 kB / 0.8095 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2988, allocations: 8 kB / 0.8095 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2988, allocations: 0 / 0.8095 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2989, allocations: 3.984 kB / 0.8095 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.3012, allocations: 1.628 MB / 0.8111 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3012, allocations: 0 / 0.8111 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.3018, allocations: 131.9 kB / 0.8113 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.3018, allocations: 3.938 kB / 0.8113 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.3019, allocations: 16 kB / 0.8113 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.3019, allocations: 7.938 kB / 0.8113 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3019, allocations: 4 kB / 0.8113 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.3038, allocations: 1.057 MB / 0.8123 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3039, allocations: 160 kB / 0.8125 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.304, allocations: 12 kB / 0.8125 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.3043, allocations: 47.95 kB / 0.8125 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3045, allocations: 36.59 kB / 0.8126 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3045, allocations: 24 kB / 0.8126 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006269/0.3052, allocations: 447 kB / 0.813 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 4 kB / 0.813 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007675/0.3059, allocations: 326.3 kB / 0.8133 GB, free: 14.73 MB / 0.6387 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: 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.0001742/0.3061, allocations: 131.2 kB / 0.8135 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.3081, allocations: 0.9426 MB / 0.8144 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3081, allocations: 0 / 0.8144 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.3087, allocations: 315.5 kB / 0.8147 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.3095, allocations: 184.1 kB / 0.8148 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.3126, allocations: 2.073 MB / 0.8169 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.3132, allocations: 1.009 MB / 0.8179 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.3135, allocations: 67.42 kB / 0.8179 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.3135, allocations: 0 / 0.8179 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of Templates: time 0.0169/0.3304, allocations: 10.15 MB / 0.8278 GB, free: 15.83 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)