Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.001103/0.001103, allocations: 183.6 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.6306 GB, free: 9.91 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.0009757/0.0009759, allocations: 98.84 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004123, allocations: 17.95 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2714, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.001956/0.2734, allocations: 1.665 MB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2754, allocations: 1.593 MB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.2756, allocations: 4 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.2757, allocations: 39.52 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.276, allocations: 95.67 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.2767, allocations: 326.2 kB / 0.9831 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.2772, allocations: 421.2 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.2775, allocations: 242.6 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2777, allocations: 195.1 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.2779, allocations: 214.8 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.2779, allocations: 27.98 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-05/0.278, allocations: 35.98 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.2781, allocations: 83.55 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.2782, allocations: 117.4 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.2786, allocations: 0.6586 MB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2786, allocations: 0 / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2786, allocations: 0 / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.2786, allocations: 0 / 0.985 GB, free: 21.96 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.00133/0.28, allocations: 0.8891 MB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.28, allocations: 8.031 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2802, allocations: 83.09 kB / 0.9859 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.2807, allocations: 429.8 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.2807, allocations: 44.94 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.2808, allocations: 56 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.2816, allocations: 498.9 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2817, allocations: 4 kB / 0.9869 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.2817, allocations: 23.98 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.2818, allocations: 12 kB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.2824, allocations: 355.8 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.2849, allocations: 1.586 MB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/0.2859, allocations: 0.8826 MB / 0.9897 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.2859, allocations: 11.94 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.2865, allocations: 257.6 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.2865, allocations: 4 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.001032/0.2876, allocations: 0.5454 MB / 0.9905 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.2876, allocations: 119.2 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.288, allocations: 409.9 kB / 0.991 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.2881, allocations: 45.69 kB / 0.9911 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2883, allocations: 265 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.2884, allocations: 145.8 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.2884, allocations: 12 kB / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2885, allocations: 358.8 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.2889, allocations: 197 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.2893, allocations: 291.4 kB / 0.9923 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.2897, allocations: 272.1 kB / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2897, allocations: 0 / 0.9925 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009489/0.2906, allocations: 0.6317 MB / 0.9931 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.2908, allocations: 0.6798 MB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2908, allocations: 0 / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2909, allocations: 8 kB / 0.9938 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.2912, allocations: 91.83 kB / 0.9939 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2913, allocations: 7.938 kB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.2918, allocations: 136.8 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.2918, allocations: 23.98 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.2918, allocations: 8 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006908/0.2925, allocations: 0.525 MB / 0.9946 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2926, allocations: 4 kB / 0.9946 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.2926, allocations: 7.984 kB / 0.9946 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2928, allocations: 67.92 kB / 0.9947 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2928, allocations: 7.984 kB / 0.9947 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.2933, allocations: 120.7 kB / 0.9948 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.2933, allocations: 31.98 kB / 0.9948 GB, free: 11.39 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.0002155/0.2936, allocations: 258.5 kB / 0.9951 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2936, allocations: 47.58 kB / 0.9951 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2937, allocations: 61.16 kB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2937, allocations: 4 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2937, allocations: 0 / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2938, allocations: 3.953 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2951, allocations: 1.091 MB / 0.9962 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2951, allocations: 0 / 0.9962 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.2954, allocations: 79.89 kB / 0.9963 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2954, allocations: 4 kB / 0.9963 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.2954, allocations: 11.95 kB / 0.9963 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2954, allocations: 4 kB / 0.9963 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2954, allocations: 3.984 kB / 0.9963 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.2964, allocations: 0.7129 MB / 0.997 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.2965, allocations: 128.4 kB / 0.9972 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.2965, allocations: 15.98 kB / 0.9972 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.2967, allocations: 27.94 kB / 0.9972 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2968, allocations: 32.39 kB / 0.9972 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.2968, allocations: 16 kB / 0.9972 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000256/0.2971, allocations: 283.2 kB / 0.9975 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2971, allocations: 0 / 0.9975 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005363/0.2976, allocations: 219.2 kB / 0.9977 GB, free: 8.301 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.0001887/0.2978, allocations: 131.2 kB / 0.9978 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.2992, allocations: 0.9505 MB / 0.9988 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2992, allocations: 0 / 0.9988 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.2995, allocations: 198.5 kB / 0.999 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.3001, allocations: 89.44 kB / 0.999 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3016, allocations: 1.108 MB / 1 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.302, allocations: 0.8671 MB / 1.001 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.3022, allocations: 55.61 kB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.3023, allocations: 39.44 kB / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.3023, allocations: 0 / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of Templates: time 0.01091/0.3132, allocations: 6.494 MB / 1.007 GB, free: 14.34 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)