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.624/1.624, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001441/0.001441, allocations: 186.2 kB / 372 MB, free: 10.25 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.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0007557/0.0007559, allocations: 85.25 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004408, allocations: 14.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.255, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.001928/0.257, allocations: 1.653 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.259, allocations: 1.62 MB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.2593, allocations: 8 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2595, allocations: 59.38 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.2597, allocations: 67.48 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.2604, allocations: 313.5 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.2609, allocations: 0.6451 MB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.2612, allocations: 238.6 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2613, allocations: 195.1 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2615, allocations: 218.7 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2616, allocations: 24 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.2617, allocations: 35.98 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.2617, allocations: 83.55 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.2618, allocations: 117.4 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.2622, allocations: 0.6626 MB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2623, allocations: 0 / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2623, allocations: 0 / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2623, allocations: 3.938 kB / 0.9854 GB, free: 21.69 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.00131/0.2636, allocations: 0.8891 MB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2636, allocations: 8.031 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2638, allocations: 71.16 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.2642, allocations: 433.8 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.2643, allocations: 45 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.2644, allocations: 63.98 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.2651, allocations: 495 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2651, allocations: 0 / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.2651, allocations: 23.98 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2652, allocations: 20 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.2657, allocations: 355.8 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2675, allocations: 1.586 MB / 0.9892 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.2683, allocations: 0.8915 MB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.2686, allocations: 231.2 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.2686, allocations: 7.984 kB / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.2691, allocations: 264.7 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.2691, allocations: 3.938 kB / 0.9906 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.000877/0.27, allocations: 0.5454 MB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.27, allocations: 115.2 kB / 0.9912 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.2703, allocations: 405.9 kB / 0.9916 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.2704, allocations: 45.69 kB / 0.9917 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2705, allocations: 265 kB / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.2706, allocations: 153.8 kB / 0.9921 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.2707, allocations: 8 kB / 0.9921 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2707, allocations: 366.8 kB / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.2711, allocations: 189 kB / 0.9926 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.2715, allocations: 291.3 kB / 0.9929 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.2719, allocations: 264.2 kB / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2719, allocations: 0 / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008787/0.2728, allocations: 0.6353 MB / 0.9938 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/0.2728, allocations: 208.8 kB / 0.994 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2729, allocations: 0 / 0.994 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2729, allocations: 7.938 kB / 0.994 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2732, allocations: 91.89 kB / 0.9941 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2732, allocations: 7.938 kB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.2737, allocations: 131.5 kB / 0.9942 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2738, allocations: 27.98 kB / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.2738, allocations: 0 / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006605/0.2745, allocations: 0.5251 MB / 0.9947 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2745, allocations: 4 kB / 0.9947 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.2745, allocations: 4 kB / 0.9947 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2747, allocations: 79.78 kB / 0.9948 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2748, allocations: 7.984 kB / 0.9948 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.2752, allocations: 124.9 kB / 0.9949 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.2753, allocations: 24 kB / 0.995 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.0002236/0.2755, allocations: 262.6 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.2755, allocations: 43.44 kB / 0.9953 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.2756, allocations: 53.19 kB / 0.9953 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2756, allocations: 4 kB / 0.9953 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.2757, allocations: 7.984 kB / 0.9953 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2757, allocations: 7.953 kB / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2769, allocations: 1.091 MB / 0.9964 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2769, allocations: 0 / 0.9964 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.2772, allocations: 79.89 kB / 0.9965 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2772, allocations: 0 / 0.9965 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2772, allocations: 15.95 kB / 0.9965 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2772, allocations: 0 / 0.9965 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2772, allocations: 4 kB / 0.9965 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.2781, allocations: 0.7052 MB / 0.9972 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.2782, allocations: 132.4 kB / 0.9973 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.2782, allocations: 12 kB / 0.9973 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2784, allocations: 31.92 kB / 0.9973 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2785, allocations: 28.34 kB / 0.9974 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2785, allocations: 19.98 kB / 0.9974 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002351/0.2788, allocations: 287.2 kB / 0.9977 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2788, allocations: 4 kB / 0.9977 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005201/0.2793, allocations: 219.2 kB / 0.9979 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.0001822/0.2795, allocations: 129.4 kB / 0.998 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2806, allocations: 0.9423 MB / 0.9989 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2806, allocations: 0 / 0.9989 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.2809, allocations: 207 kB / 0.9991 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.2815, allocations: 94.3 kB / 0.9992 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.2828, 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.0002694/0.2831, allocations: 0.8632 MB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.2833, allocations: 51.75 kB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.2834, allocations: 43.44 kB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2834, allocations: 0 / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of Templates: time 0.0103/0.2937, allocations: 6.501 MB / 1.008 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)