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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.00121/0.00121, allocations: 176.4 kB / 372 MB, free: 10.27 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.996 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.0008994/0.0008996, allocations: 94.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 14.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, 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.PIDScale): time 0.002074/0.2667, allocations: 1.584 MB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2691, allocations: 1.535 MB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.2697, allocations: 4 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.2701, allocations: 63.38 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.2707, allocations: 55.58 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.2715, allocations: 223 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.272, allocations: 0.5709 MB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2723, allocations: 241.8 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2725, allocations: 163.2 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.2727, allocations: 186.8 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.2727, allocations: 20 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.2728, allocations: 31.98 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.2729, allocations: 79.55 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.273, allocations: 109.4 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.2734, allocations: 0.6002 MB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2735, allocations: 0 / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2735, allocations: 4 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2735, allocations: 0 / 0.9849 GB, free: 22.17 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.001301/0.2748, allocations: 0.833 MB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2748, allocations: 8.031 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.275, allocations: 63.25 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.2755, allocations: 417.8 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.2755, allocations: 37 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.2756, allocations: 55.98 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.2763, allocations: 467 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2764, allocations: 0 / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.2764, allocations: 23.94 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2764, allocations: 12 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.277, allocations: 335.8 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2789, allocations: 1.484 MB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.2797, allocations: 0.8685 MB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.28, allocations: 205.3 kB / 0.9896 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.28, allocations: 7.984 kB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.2805, allocations: 231.1 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/0.2805, allocations: 4 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0008781/0.2814, allocations: 0.4971 MB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2815, allocations: 114.8 kB / 0.9904 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2818, allocations: 393.5 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2818, allocations: 37.7 kB / 0.9908 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.282, allocations: 260.3 kB / 0.9911 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.2821, allocations: 141.9 kB / 0.9912 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.2821, allocations: 8 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.2822, allocations: 358.8 kB / 0.9916 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.2825, allocations: 160.8 kB / 0.9917 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2829, allocations: 259 kB / 0.992 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.2832, allocations: 218.3 kB / 0.9922 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2832, allocations: 0 / 0.9922 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007936/0.284, allocations: 0.5354 MB / 0.9927 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.303e-05/0.2841, allocations: 182.5 kB / 0.9929 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2841, allocations: 7.938 kB / 0.9929 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2842, allocations: 4 kB / 0.9929 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.2845, allocations: 87.89 kB / 0.993 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2845, allocations: 0 / 0.993 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.2849, allocations: 103.5 kB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.285, allocations: 20 kB / 0.9931 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/0.285, allocations: 4 kB / 0.9931 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005579/0.2856, allocations: 425.3 kB / 0.9935 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2856, allocations: 4 kB / 0.9935 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.2856, allocations: 4 kB / 0.9935 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.2859, allocations: 79.84 kB / 0.9936 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2859, allocations: 7.984 kB / 0.9936 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.2862, allocations: 79.83 kB / 0.9937 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2863, allocations: 23.95 kB / 0.9937 GB, free: 12.74 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.0002399/0.2865, allocations: 249.1 kB / 0.9939 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.2866, allocations: 43.44 kB / 0.994 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.263e-05/0.2867, allocations: 48.75 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2867, allocations: 4 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2867, allocations: 8 kB / 0.994 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2867, allocations: 3.938 kB / 0.994 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2882, allocations: 1.011 MB / 0.995 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2883, allocations: 0 / 0.995 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.2886, allocations: 75.89 kB / 0.9951 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.2887, allocations: 4 kB / 0.9951 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.2887, allocations: 11.95 kB / 0.9951 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2887, allocations: 4 kB / 0.9951 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2887, allocations: 0 / 0.9951 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2898, allocations: 0.6526 MB / 0.9957 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.29, allocations: 128.5 kB / 0.9959 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.29, allocations: 8 kB / 0.9959 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2903, allocations: 31.94 kB / 0.9959 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.2903, allocations: 27.95 kB / 0.9959 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2904, allocations: 12 kB / 0.9959 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002915/0.2907, allocations: 275.2 kB / 0.9962 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2907, allocations: 0 / 0.9962 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005725/0.2913, allocations: 183.3 kB / 0.9964 GB, free: 9.879 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.0002555/0.2915, allocations: 125.4 kB / 0.9965 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.2926, allocations: 0.7254 MB / 0.9972 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2926, allocations: 0 / 0.9972 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.2929, allocations: 179.9 kB / 0.9974 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.2934, allocations: 90.12 kB / 0.9975 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.295, allocations: 1.05 MB / 0.9985 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2953, allocations: 0.847 MB / 0.9993 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.2956, allocations: 51.33 kB / 0.9994 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.2957, allocations: 43.36 kB / 0.9994 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2957, allocations: 4 kB / 0.9994 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of Templates: time 0.01015/0.3058, allocations: 5.178 MB / 1.004 GB, free: 1.551 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)