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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001211/0.001211, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.773 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.702/1.702, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001347/0.001347, allocations: 74.19 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 114.6 MB / 0.7827 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.006067/0.2485, allocations: 4.381 MB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2509, allocations: 1.065 MB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.2513, allocations: 23.88 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.2517, allocations: 134.7 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.2522, allocations: 103.2 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.2528, allocations: 327.7 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008991/0.2537, allocations: 1.061 MB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008647/0.2545, allocations: 0.6472 MB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.2548, allocations: 350.1 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.2552, allocations: 445.3 kB / 0.791 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2553, allocations: 64 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.2554, allocations: 60 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2556, allocations: 203.1 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.2559, allocations: 469 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.2569, allocations: 1.355 MB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2569, allocations: 0 / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2569, allocations: 0 / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2569, allocations: 4 kB / 0.7931 GB, free: 3.23 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.002161/0.2591, allocations: 1.399 MB / 0.7945 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2591, allocations: 8.031 kB / 0.7945 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2593, allocations: 127.4 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.2601, allocations: 0.614 MB / 0.7952 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.2602, allocations: 86.25 kB / 0.7953 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2603, allocations: 96.38 kB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2617, allocations: 0.9062 MB / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.2618, allocations: 192 / 0.7962 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.2618, allocations: 39.94 kB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.2619, allocations: 24 kB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2631, allocations: 0.6597 MB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.2669, allocations: 2.853 MB / 0.7997 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2681, allocations: 0.6951 MB / 0.8004 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/0.2688, allocations: 402.8 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.2688, allocations: 8.656 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.2696, allocations: 360.3 kB / 0.8011 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 3.307e-06/0.2696, allocations: 0 / 0.8011 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001616/0.2712, allocations: 0.8366 MB / 0.802 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.2713, allocations: 166.9 kB / 0.8021 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.2721, allocations: 0.6293 MB / 0.8027 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.2722, allocations: 41.7 kB / 0.8028 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.2725, allocations: 460.2 kB / 0.8032 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.2727, allocations: 256.2 kB / 0.8035 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2729, allocations: 130.7 kB / 0.8036 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2731, allocations: 334 kB / 0.8039 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.2736, allocations: 248.7 kB / 0.8041 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.2741, allocations: 382 kB / 0.8045 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.2751, allocations: 0.5613 MB / 0.8051 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2751, allocations: 0 / 0.8051 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001191/0.2763, allocations: 0.7424 MB / 0.8058 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.2763, allocations: 8 kB / 0.8058 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2763, allocations: 0 / 0.8058 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2764, allocations: 4 kB / 0.8058 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.277, allocations: 151.8 kB / 0.8059 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.277, allocations: 12.11 kB / 0.8059 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.2774, allocations: 99.17 kB / 0.806 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.2774, allocations: 28 kB / 0.8061 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000537/0.278, allocations: 366.1 kB / 0.8064 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003944/0.2784, allocations: 330 kB / 0.8067 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006452/0.279, allocations: 482.8 kB / 0.8072 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.279, allocations: 4 kB / 0.8072 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0008597/0.2799, allocations: 0.6488 MB / 0.8078 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2799, allocations: 7.938 kB / 0.8078 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.2799, allocations: 0 / 0.8078 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.2799, allocations: 8 kB / 0.8078 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.2804, allocations: 135.8 kB / 0.808 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2804, allocations: 7.938 kB / 0.808 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.2807, allocations: 83.61 kB / 0.8081 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.2808, allocations: 20 kB / 0.8081 GB, free: 3.438 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.0001769/0.281, allocations: 224 kB / 0.8083 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.2811, allocations: 86.91 kB / 0.8084 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.2812, allocations: 88.25 kB / 0.8085 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2812, allocations: 8 kB / 0.8085 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.2812, allocations: 0 / 0.8085 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.2813, allocations: 7.984 kB / 0.8085 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2836, allocations: 1.628 MB / 0.8101 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2836, allocations: 3.938 kB / 0.8101 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.2841, allocations: 127.9 kB / 0.8102 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2842, allocations: 4 kB / 0.8102 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.2842, allocations: 16 kB / 0.8102 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2842, allocations: 4 kB / 0.8102 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2842, allocations: 0 / 0.8102 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.2859, allocations: 1.061 MB / 0.8113 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.286, allocations: 164 kB / 0.8114 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.2861, allocations: 12 kB / 0.8114 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2865, allocations: 43.95 kB / 0.8115 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.2866, allocations: 44.58 kB / 0.8115 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.2866, allocations: 24 kB / 0.8115 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005007/0.2871, allocations: 439 kB / 0.8119 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2872, allocations: 4 kB / 0.812 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007229/0.2879, allocations: 330.3 kB / 0.8123 GB, free: 15.05 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.0001738/0.2881, allocations: 130.2 kB / 0.8124 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.2897, allocations: 0.9073 MB / 0.8133 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2898, allocations: 3.938 kB / 0.8133 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.2903, allocations: 320 kB / 0.8136 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.2911, allocations: 165.8 kB / 0.8137 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2941, allocations: 2.038 MB / 0.8157 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.2947, allocations: 1.006 MB / 0.8167 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003819/0.2951, allocations: 94.06 kB / 0.8168 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.2953, allocations: 59.42 kB / 0.8169 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.2953, allocations: 0 / 0.8169 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.01513/0.3104, allocations: 7.511 MB / 0.8242 GB, free: 2.844 MB / 0.6387 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)