Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.857/2.857, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.001369, allocations: 174.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 98.94 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005933/0.0005934, allocations: 18 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2547, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002613/0.2574, allocations: 1.664 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.2605, allocations: 1.616 MB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.2609, allocations: 4 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.2612, allocations: 63.38 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.2616, allocations: 72.48 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2628, allocations: 313.4 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.2637, allocations: 0.649 MB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/0.2642, allocations: 242.6 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.2645, allocations: 195.1 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.2648, allocations: 218.7 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.2649, allocations: 24 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2651, allocations: 28 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.2652, allocations: 87.53 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2653, allocations: 117.4 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007233/0.2661, allocations: 0.6625 MB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2661, allocations: 4 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2661, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.2661, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 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.002018/0.2681, allocations: 0.8877 MB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2682, allocations: 8.031 kB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.2684, allocations: 75.16 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2692, allocations: 429.8 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.2692, allocations: 48.98 kB / 0.9856 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.2694, allocations: 56 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2705, allocations: 0.4912 MB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2706, allocations: 0 / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.2707, allocations: 16 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.2707, allocations: 15.94 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2718, allocations: 359.8 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.2749, allocations: 1.586 MB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2762, allocations: 0.8965 MB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.2768, allocations: 220.8 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.2769, allocations: 11.95 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006861/0.2776, allocations: 261.5 kB / 0.9894 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.337e-06/0.2776, allocations: 0 / 0.9894 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.00168/0.2793, allocations: 0.5493 MB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.2794, allocations: 115.2 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.28, allocations: 413.9 kB / 0.9904 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.2801, allocations: 37.7 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.2803, allocations: 265 kB / 0.9907 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.2805, allocations: 157.8 kB / 0.9909 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.2805, allocations: 8 kB / 0.9909 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2806, allocations: 358.8 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.2813, allocations: 197 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.282, allocations: 295.3 kB / 0.9917 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.2827, allocations: 260.2 kB / 0.9919 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2827, allocations: 0 / 0.9919 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001783/0.2845, allocations: 0.6355 MB / 0.9925 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2846, allocations: 199.3 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2847, allocations: 4 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.2847, allocations: 7.938 kB / 0.9927 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.2853, allocations: 87.89 kB / 0.9928 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.2854, allocations: 7.938 kB / 0.9928 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.2864, allocations: 145.8 kB / 0.993 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.2865, allocations: 23.98 kB / 0.993 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2865, allocations: 4 kB / 0.993 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.2878, allocations: 0.525 MB / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2879, allocations: 0 / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2879, allocations: 4 kB / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.2884, allocations: 80 kB / 0.9936 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2884, allocations: 11.95 kB / 0.9936 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.2893, allocations: 115.5 kB / 0.9937 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.2894, allocations: 27.98 kB / 0.9937 GB, free: 12.1 MB / 0.6198 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,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.2898, allocations: 249.1 kB / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.2899, allocations: 47.44 kB / 0.994 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.29, allocations: 57.17 kB / 0.9941 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2901, allocations: 8 kB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2901, allocations: 3.953 kB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2901, allocations: 3.984 kB / 0.9941 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.2922, allocations: 1.087 MB / 0.9952 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2922, allocations: 3.984 kB / 0.9952 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.2929, allocations: 79.86 kB / 0.9952 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.2929, allocations: 0 / 0.9952 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2929, allocations: 15.98 kB / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.2929, allocations: 4 kB / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.293, allocations: 0 / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.2946, allocations: 0.7052 MB / 0.9959 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2948, allocations: 132.4 kB / 0.9961 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.2949, allocations: 15.89 kB / 0.9961 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.2953, allocations: 27.98 kB / 0.9961 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.2954, allocations: 36.33 kB / 0.9961 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.2955, allocations: 12 kB / 0.9962 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004228/0.2959, allocations: 291.1 kB / 0.9964 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2959, allocations: 0 / 0.9964 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009439/0.2969, allocations: 215.2 kB / 0.9966 GB, free: 9.02 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.2972, allocations: 132.8 kB / 0.9968 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.2994, allocations: 0.9423 MB / 0.9977 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2995, allocations: 0 / 0.9977 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.3, allocations: 206.3 kB / 0.9979 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.301, allocations: 90.45 kB / 0.998 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3033, allocations: 1.112 MB / 0.9991 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3037, allocations: 0.8632 MB / 0.9999 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003666/0.304, allocations: 51.44 kB / 0.9999 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3042, allocations: 47.42 kB / 1 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.3042, allocations: 0 / 1 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of Templates: time 0.01926/0.3235, allocations: 6.493 MB / 1.006 GB, free: 15.03 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)