Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001429/0.001428, allocations: 174.1 kB / 371 MB, free: 10.85 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.358/2.358, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001045/0.001045, allocations: 80.45 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005258, allocations: 20.95 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.261, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002532/0.2636, allocations: 1.583 MB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002951/0.2666, allocations: 1.535 MB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.2671, allocations: 8 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.2673, allocations: 59.38 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.2677, allocations: 63.55 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.2686, allocations: 222.5 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.2693, allocations: 0.571 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.2698, allocations: 226.1 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.27, allocations: 167.1 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.2703, allocations: 190.8 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.902e-05/0.2705, allocations: 20 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2707, allocations: 35.98 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2708, allocations: 71.56 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.271, allocations: 113.4 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.2722, allocations: 0.6002 MB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.2722, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2722, allocations: 4 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.2722, allocations: 0 / 0.9837 GB, free: 22.86 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003158/0.2754, allocations: 0.8252 MB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.2755, allocations: 8.031 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.2758, allocations: 71.25 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.277, allocations: 421.8 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.2772, allocations: 37 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.2774, allocations: 52 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.2796, allocations: 471 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.2797, allocations: 7.938 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2798, allocations: 20 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2798, allocations: 12 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.2814, allocations: 331.8 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.2855, allocations: 1.476 MB / 0.9873 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.2868, allocations: 0.8771 MB / 0.9882 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.2873, allocations: 213.3 kB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.2874, allocations: 4 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006593/0.2881, allocations: 238.8 kB / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.058e-06/0.2881, allocations: 7.938 kB / 0.9886 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001615/0.2897, allocations: 497.1 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2898, allocations: 118.8 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.2904, allocations: 405.4 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.2905, allocations: 37.7 kB / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.2907, allocations: 252.3 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.2908, allocations: 138 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.2909, allocations: 8 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.291, allocations: 354.8 kB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.2915, allocations: 168.8 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.2921, allocations: 263 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.2927, allocations: 214.4 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2928, allocations: 0 / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001429/0.2942, allocations: 0.5276 MB / 0.9915 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.2943, allocations: 177.5 kB / 0.9916 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2943, allocations: 4 kB / 0.9916 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.2944, allocations: 4 kB / 0.9916 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.295, allocations: 91.89 kB / 0.9917 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.295, allocations: 7.984 kB / 0.9917 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.2958, allocations: 99.48 kB / 0.9918 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.2958, allocations: 23.98 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.2958, allocations: 4 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009805/0.2968, allocations: 421.3 kB / 0.9923 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2969, allocations: 4 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2969, allocations: 4.219 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.2974, allocations: 79.84 kB / 0.9923 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2974, allocations: 4 kB / 0.9924 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.298, allocations: 83.59 kB / 0.9924 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.2981, allocations: 20 kB / 0.9924 GB, free: 13.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0003544/0.2985, allocations: 254.3 kB / 0.9927 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.2985, allocations: 43.44 kB / 0.9927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.2987, allocations: 48.77 kB / 0.9928 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2987, allocations: 7.938 kB / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2987, allocations: 0 / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2987, allocations: 7.938 kB / 0.9928 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3007, allocations: 1.015 MB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3007, allocations: 3.938 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.3014, allocations: 75.89 kB / 0.9939 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.3014, allocations: 3.953 kB / 0.9939 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.3014, allocations: 8 kB / 0.9939 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3014, allocations: 0 / 0.9939 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3015, allocations: 4 kB / 0.9939 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.303, allocations: 0.6604 MB / 0.9945 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3031, allocations: 120.5 kB / 0.9946 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.3032, allocations: 19.94 kB / 0.9947 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.3036, allocations: 23.98 kB / 0.9947 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3036, allocations: 19.97 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3037, allocations: 23.98 kB / 0.9947 GB, free: 11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003909/0.3041, allocations: 271.2 kB / 0.995 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3041, allocations: 3.938 kB / 0.995 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009089/0.305, allocations: 187.3 kB / 0.9952 GB, free: 10.55 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002687/0.3053, allocations: 115.2 kB / 0.9953 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.3071, allocations: 0.7183 MB / 0.996 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.3072, allocations: 0 / 0.996 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.3077, allocations: 183.8 kB / 0.9961 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3088, allocations: 89.5 kB / 0.9962 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.311, allocations: 1.047 MB / 0.9973 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3114, allocations: 0.8508 MB / 0.9981 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003681/0.3117, allocations: 51.33 kB / 0.9981 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3119, allocations: 35.44 kB / 0.9982 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.3119, allocations: 0 / 0.9982 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of Templates: time 0.01565/0.3276, allocations: 5.183 MB / 1.003 GB, free: 2.227 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)