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.001214/0.001214, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 188 kB / 16.62 MB, free: 6.613 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001437/0.001437, allocations: 73.06 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 114.6 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005354/0.2447, allocations: 4.397 MB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2468, allocations: 1.108 MB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.2472, allocations: 19.94 kB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.2477, allocations: 190 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.2482, allocations: 150.5 kB / 0.7899 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.2488, allocations: 379.5 kB / 0.7902 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2499, allocations: 1.158 MB / 0.7914 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.2508, allocations: 0.6668 MB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.2511, allocations: 410.2 kB / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.2515, allocations: 473.4 kB / 0.7928 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.2517, allocations: 128 kB / 0.793 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2518, allocations: 124 kB / 0.7931 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.252, allocations: 275 kB / 0.7934 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.2523, allocations: 0.5165 MB / 0.7939 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2534, allocations: 1.471 MB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2534, allocations: 3.938 kB / 0.7953 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2534, allocations: 4 kB / 0.7953 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.2535, allocations: 0 / 0.7953 GB, free: 1.184 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.002124/0.2556, allocations: 1.395 MB / 0.7967 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2556, allocations: 12.03 kB / 0.7967 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2558, allocations: 123.4 kB / 0.7968 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.2567, allocations: 0.6334 MB / 0.7974 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.2567, allocations: 74.38 kB / 0.7975 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2569, allocations: 100.4 kB / 0.7976 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2583, allocations: 0.9023 MB / 0.7985 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2583, allocations: 192 / 0.7985 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.2584, allocations: 43.94 kB / 0.7985 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.2584, allocations: 28 kB / 0.7985 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2597, allocations: 0.6558 MB / 0.7992 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.2635, allocations: 2.806 MB / 0.8019 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.2646, allocations: 0.7028 MB / 0.8026 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.2653, allocations: 402.9 kB / 0.803 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/0.2653, allocations: 4.656 kB / 0.803 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/0.266, allocations: 368.2 kB / 0.8033 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.705e-06/0.266, allocations: 0 / 0.8033 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001573/0.2675, allocations: 0.8366 MB / 0.8041 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.2676, allocations: 162.9 kB / 0.8043 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.2683, allocations: 0.6293 MB / 0.8049 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.2684, allocations: 41.7 kB / 0.805 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2687, allocations: 460.2 kB / 0.8054 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.2688, allocations: 260.2 kB / 0.8056 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.269, allocations: 126.7 kB / 0.8058 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2691, allocations: 338 kB / 0.8061 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.2696, allocations: 248.7 kB / 0.8063 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.2702, allocations: 382 kB / 0.8067 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/0.2712, allocations: 0.5612 MB / 0.8072 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2712, allocations: 0 / 0.8072 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001258/0.2725, allocations: 0.7425 MB / 0.808 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2725, allocations: 4 kB / 0.808 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2725, allocations: 0 / 0.808 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2726, allocations: 4 kB / 0.808 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.2732, allocations: 159.9 kB / 0.8081 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.2732, allocations: 8 kB / 0.8081 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2736, allocations: 99.22 kB / 0.8082 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.2737, allocations: 27.94 kB / 0.8083 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005272/0.2742, allocations: 370.7 kB / 0.8086 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003871/0.2746, allocations: 326.1 kB / 0.8089 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006466/0.2753, allocations: 482.8 kB / 0.8094 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.305e-06/0.2753, allocations: 4 kB / 0.8094 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0009004/0.2762, allocations: 0.6411 MB / 0.81 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2762, allocations: 11.94 kB / 0.81 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2762, allocations: 3.984 kB / 0.81 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.2762, allocations: 4 kB / 0.81 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.2767, allocations: 143.8 kB / 0.8102 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2767, allocations: 4.156 kB / 0.8102 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2771, allocations: 75.62 kB / 0.8102 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.2771, allocations: 23.98 kB / 0.8103 GB, free: 1.418 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.0001928/0.2773, allocations: 228.1 kB / 0.8105 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.2774, allocations: 82.91 kB / 0.8106 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.2776, allocations: 92.2 kB / 0.8106 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2776, allocations: 11.98 kB / 0.8107 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2776, allocations: 0 / 0.8107 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2776, allocations: 0 / 0.8107 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.28, allocations: 1.633 MB / 0.8123 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.28, allocations: 0 / 0.8123 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.2806, allocations: 135.8 kB / 0.8124 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2806, allocations: 4 kB / 0.8124 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.2807, allocations: 12 kB / 0.8124 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2807, allocations: 4 kB / 0.8124 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2807, allocations: 0 / 0.8124 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.2824, allocations: 1.062 MB / 0.8134 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2825, allocations: 160 kB / 0.8136 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.2826, allocations: 12 kB / 0.8136 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.283, allocations: 43.95 kB / 0.8136 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.2831, allocations: 40.7 kB / 0.8137 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.2831, allocations: 27.92 kB / 0.8137 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005177/0.2836, allocations: 443 kB / 0.8141 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2836, allocations: 0 / 0.8141 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007481/0.2844, allocations: 330.3 kB / 0.8144 GB, free: 13.03 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.0001662/0.2846, allocations: 126.1 kB / 0.8146 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.2862, allocations: 0.9113 MB / 0.8155 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2862, allocations: 0 / 0.8155 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.2867, allocations: 320 kB / 0.8158 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.2876, allocations: 178.2 kB / 0.8159 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2901, allocations: 1.622 MB / 0.8175 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.2908, allocations: 1.009 MB / 0.8185 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003529/0.2911, allocations: 93.91 kB / 0.8186 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.2913, allocations: 59.42 kB / 0.8186 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.2913, allocations: 0 / 0.8186 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of Templates: time 0.01543/0.3067, allocations: 7.887 MB / 0.8264 GB, free: 0.8633 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)