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.995/2.995, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.00162/0.00162, allocations: 187.5 kB / 370.8 MB, free: 10.84 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.623/2.623, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00114/0.00114, allocations: 88.75 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005103, allocations: 13.38 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2408, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002493/0.2433, allocations: 1.588 MB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.2461, allocations: 1.523 MB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.2467, allocations: 8 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.2468, allocations: 35.53 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.2473, allocations: 103.6 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009772/0.2483, allocations: 213.4 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.2492, allocations: 381.2 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.2496, allocations: 226.1 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2499, allocations: 167.2 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2501, allocations: 186.9 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.2502, allocations: 27.92 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.2504, allocations: 35.92 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.2505, allocations: 67.67 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.856e-05/0.2506, allocations: 109.4 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.2513, allocations: 0.6041 MB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2513, allocations: 4 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2513, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2513, allocations: 0 / 0.9833 GB, free: 23.08 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.002024/0.2533, allocations: 0.829 MB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2534, allocations: 8.031 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.2536, allocations: 71.25 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.2544, allocations: 421.8 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.2544, allocations: 37 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.2546, allocations: 52 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2557, allocations: 475 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.2558, allocations: 0 / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.2559, allocations: 20 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2559, allocations: 12 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.257, allocations: 335.8 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.2601, allocations: 1.473 MB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2615, allocations: 0.8784 MB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.2615, allocations: 4 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.2622, allocations: 230.9 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.549e-06/0.2622, allocations: 4 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001635/0.2639, allocations: 0.4971 MB / 0.9885 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.264, allocations: 106.8 kB / 0.9886 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.2647, allocations: 393.6 kB / 0.989 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.2648, allocations: 37.7 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.2652, allocations: 268.2 kB / 0.9893 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2655, allocations: 138 kB / 0.9894 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.2656, allocations: 12 kB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2658, allocations: 350.8 kB / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009524/0.2667, allocations: 164.8 kB / 0.9899 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.2677, allocations: 258.9 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2689, allocations: 218.4 kB / 0.9904 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.2689, allocations: 3.938 kB / 0.9904 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002762/0.2717, allocations: 0.5316 MB / 0.9909 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003522/0.2721, allocations: 0.7386 MB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.2722, allocations: 8 kB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.5e-05/0.2722, allocations: 4 kB / 0.9916 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2734, allocations: 91.83 kB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.2734, allocations: 4 kB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.2746, allocations: 103.5 kB / 0.9918 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.2747, allocations: 19.98 kB / 0.9918 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2747, allocations: 4 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/0.2763, allocations: 421.4 kB / 0.9922 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2764, allocations: 3.984 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2764, allocations: 7.953 kB / 0.9923 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.2772, allocations: 75.91 kB / 0.9923 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.2772, allocations: 7.938 kB / 0.9923 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/0.2782, allocations: 83.67 kB / 0.9924 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.2783, allocations: 20 kB / 0.9924 GB, free: 13.27 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.0004994/0.2789, allocations: 251.7 kB / 0.9927 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.279, allocations: 47.42 kB / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.2791, allocations: 48.77 kB / 0.9928 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.2791, allocations: 7.953 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2792, allocations: 0 / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.2792, allocations: 7.984 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2813, allocations: 0.9993 MB / 0.9938 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.2813, allocations: 3.984 kB / 0.9938 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.282, allocations: 75.91 kB / 0.9938 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.282, allocations: 0 / 0.9938 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.2821, allocations: 8 kB / 0.9938 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.2821, allocations: 7.984 kB / 0.9939 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2821, allocations: 4 kB / 0.9939 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.2836, allocations: 0.6564 MB / 0.9945 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2838, allocations: 128.5 kB / 0.9946 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.2839, allocations: 8 kB / 0.9946 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.2843, allocations: 31.97 kB / 0.9947 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.2844, allocations: 23.97 kB / 0.9947 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.2845, allocations: 12 kB / 0.9947 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000401/0.2849, allocations: 279.1 kB / 0.995 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2849, allocations: 0 / 0.995 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008325/0.2857, allocations: 183.3 kB / 0.9951 GB, free: 10.41 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.0002264/0.286, allocations: 119.2 kB / 0.9952 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.2877, allocations: 0.7257 MB / 0.996 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2878, allocations: 0 / 0.996 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.2883, allocations: 183.7 kB / 0.9961 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.2891, allocations: 84.47 kB / 0.9962 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.291, allocations: 1.055 MB / 0.9972 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2914, allocations: 0.8592 MB / 0.9981 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.2917, allocations: 51.36 kB / 0.9981 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2919, allocations: 39.42 kB / 0.9982 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.2919, allocations: 4 kB / 0.9982 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of Templates: time 0.01468/0.3066, allocations: 5.168 MB / 1.003 GB, free: 2.082 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)