Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, 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.0012/0.0012, allocations: 193.3 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.762 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.727/1.727, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001351/0.001351, allocations: 65.52 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.003351/0.2696, allocations: 2.18 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2718, allocations: 1.686 MB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.272, allocations: 8 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.2722, allocations: 67.38 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.2725, allocations: 63.5 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.2732, allocations: 369.8 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.2738, allocations: 0.6957 MB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.2743, allocations: 321.3 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.2745, allocations: 246.9 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.2748, allocations: 278.5 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.2749, allocations: 40 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.275, allocations: 55.98 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.844e-05/0.2751, allocations: 111.5 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.2753, allocations: 286.3 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.276, allocations: 0.8412 MB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.276, allocations: 4 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.276, allocations: 0 / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.276, allocations: 0 / 0.7897 GB, free: 6.762 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001596/0.2776, allocations: 0.9866 MB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2777, allocations: 12.03 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2778, allocations: 68.19 kB / 0.7908 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.2784, allocations: 446.8 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.2784, allocations: 41.38 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.2785, allocations: 56.38 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.2793, allocations: 0.4917 MB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2793, allocations: 192 / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.2794, allocations: 23.94 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.2794, allocations: 12 kB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.28, allocations: 351.8 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.2822, allocations: 1.566 MB / 0.7937 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.2833, allocations: 0.8731 MB / 0.7945 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.2836, allocations: 218 kB / 0.7947 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2837, allocations: 7.938 kB / 0.7947 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.2842, allocations: 260.9 kB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.2842, allocations: 0 / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001055/0.2853, allocations: 0.5335 MB / 0.7955 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.2854, allocations: 115.2 kB / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.2859, allocations: 413.9 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.2859, allocations: 37.7 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2861, allocations: 261 kB / 0.7963 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2862, allocations: 153.8 kB / 0.7964 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.2864, allocations: 106.2 kB / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2866, allocations: 354.8 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.287, allocations: 199 kB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.2875, allocations: 287.3 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.2882, allocations: 453.5 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2882, allocations: 8 kB / 0.7978 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001048/0.2892, allocations: 0.6236 MB / 0.7984 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.2893, allocations: 71.39 kB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2893, allocations: 0 / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.2894, allocations: 4 kB / 0.7985 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.2897, allocations: 91.98 kB / 0.7986 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2898, allocations: 4 kB / 0.7986 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.2903, allocations: 103.4 kB / 0.7987 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.2903, allocations: 27.98 kB / 0.7987 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004288/0.2908, allocations: 289.9 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003428/0.2911, allocations: 259.4 kB / 0.7992 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005214/0.2916, allocations: 413.6 kB / 0.7996 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.2917, allocations: 4 kB / 0.7996 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008395/0.2925, allocations: 0.5769 MB / 0.8002 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.2926, allocations: 69.89 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2926, allocations: 4 kB / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-06/0.2926, allocations: 4 kB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2928, allocations: 84 kB / 0.8003 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2929, allocations: 4 kB / 0.8003 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.2933, allocations: 87.61 kB / 0.8004 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.2934, allocations: 27.98 kB / 0.8004 GB, free: 11.22 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002004/0.2936, allocations: 216.1 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.2937, allocations: 55.27 kB / 0.8007 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.2938, allocations: 53.19 kB / 0.8008 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2938, allocations: 4 kB / 0.8008 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2938, allocations: 3.938 kB / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2938, allocations: 7.984 kB / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.2954, allocations: 1.072 MB / 0.8018 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2954, allocations: 0 / 0.8018 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.2957, allocations: 71.84 kB / 0.8019 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2958, allocations: 4.188 kB / 0.8019 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.2958, allocations: 15.98 kB / 0.8019 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2958, allocations: 0 / 0.8019 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2958, allocations: 0 / 0.8019 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2969, allocations: 0.7049 MB / 0.8026 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.297, allocations: 124.5 kB / 0.8027 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.297, allocations: 12 kB / 0.8027 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2972, allocations: 19.98 kB / 0.8027 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.2973, allocations: 32.39 kB / 0.8028 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2974, allocations: 15.94 kB / 0.8028 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000309/0.2977, allocations: 295.1 kB / 0.8031 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2977, allocations: 0 / 0.8031 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006166/0.2983, allocations: 215.2 kB / 0.8033 GB, free: 8.215 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002421/0.2986, allocations: 123.2 kB / 0.8034 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.3, allocations: 0.9306 MB / 0.8043 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3, allocations: 4 kB / 0.8043 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.3003, allocations: 194.4 kB / 0.8045 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.301, allocations: 102 kB / 0.8046 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3026, allocations: 1.14 MB / 0.8057 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.303, allocations: 0.8632 MB / 0.8065 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.3032, allocations: 47.44 kB / 0.8066 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3033, allocations: 43.44 kB / 0.8066 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3033, allocations: 0 / 0.8066 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.01166/0.315, allocations: 6.79 MB / 0.8133 GB, free: 13.94 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)