Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.657/2.657, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 173.6 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 90.84 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.00047, allocations: 14.25 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00192/0.157, allocations: 1.595 MB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1592, allocations: 1.523 MB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.1596, allocations: 4 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.864e-05/0.1597, allocations: 43.52 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1601, allocations: 90.05 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.1607, allocations: 221.5 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.1612, allocations: 381.2 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.1616, allocations: 222.1 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1618, allocations: 171.1 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.162, allocations: 186.9 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.1621, allocations: 20 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1622, allocations: 31.98 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1622, allocations: 75.61 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.1623, allocations: 109.4 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1629, allocations: 0.6079 MB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.862e-06/0.1629, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1629, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.846e-06/0.1629, allocations: 0 / 0.9839 GB, free: 22.88 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.001331/0.1643, allocations: 0.8252 MB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1643, allocations: 12.03 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1645, allocations: 71.19 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.165, allocations: 417.8 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1651, allocations: 41 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.1652, allocations: 48 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009119/0.1661, allocations: 478.9 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1662, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.1662, allocations: 16 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1662, allocations: 12 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.1671, allocations: 343.8 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.1694, allocations: 1.465 MB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/0.1704, allocations: 0.8774 MB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.1705, allocations: 4 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.171, allocations: 238.9 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.638e-06/0.171, allocations: 0 / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001193/0.1722, allocations: 0.4932 MB / 0.9891 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1723, allocations: 110.8 kB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.1728, allocations: 393.6 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.1728, allocations: 37.7 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.173, allocations: 268.2 kB / 0.9898 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.1731, allocations: 134 kB / 0.99 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1732, allocations: 12 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.1733, allocations: 358.8 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.1737, allocations: 160.8 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.1742, allocations: 266.9 kB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.1747, allocations: 214.3 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.601e-06/0.1747, allocations: 4 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001164/0.1759, allocations: 0.5277 MB / 0.9915 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.1761, allocations: 0.7445 MB / 0.9922 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1761, allocations: 3.984 kB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1761, allocations: 4 kB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.1766, allocations: 83.89 kB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1766, allocations: 7.938 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.1771, allocations: 99.53 kB / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.1772, allocations: 19.98 kB / 0.9924 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1772, allocations: 5.562 kB / 0.9924 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008326/0.178, allocations: 429.3 kB / 0.9928 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-06/0.178, allocations: 4 kB / 0.9928 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.413e-06/0.1781, allocations: 7.953 kB / 0.9928 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.1784, allocations: 67.91 kB / 0.9929 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.324e-06/0.1784, allocations: 4 kB / 0.9929 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.1788, allocations: 91.73 kB / 0.993 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.1789, allocations: 16 kB / 0.993 GB, free: 13.07 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.0002813/0.1792, allocations: 260.9 kB / 0.9932 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.1793, allocations: 43.44 kB / 0.9933 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1794, allocations: 52.77 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-06/0.1794, allocations: 7.953 kB / 0.9933 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.377e-06/0.1794, allocations: 4 kB / 0.9933 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.097e-06/0.1794, allocations: 3.984 kB / 0.9934 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.1811, allocations: 1.003 MB / 0.9943 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-06/0.1811, allocations: 0 / 0.9943 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.1815, allocations: 71.91 kB / 0.9944 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.417e-06/0.1816, allocations: 0 / 0.9944 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1816, allocations: 11.98 kB / 0.9944 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.536e-06/0.1816, allocations: 8 kB / 0.9944 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-06/0.1816, allocations: 0 / 0.9944 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.1829, allocations: 0.6564 MB / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.183, allocations: 128.5 kB / 0.9952 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.1831, allocations: 11.94 kB / 0.9952 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.1834, allocations: 35.97 kB / 0.9952 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.1834, allocations: 19.97 kB / 0.9952 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.1835, allocations: 12 kB / 0.9953 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003329/0.1838, allocations: 275.2 kB / 0.9955 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/0.1838, allocations: 0 / 0.9955 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007526/0.1846, allocations: 191.3 kB / 0.9957 GB, free: 10.19 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.0001836/0.1848, allocations: 115.2 kB / 0.9958 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.1862, allocations: 0.7178 MB / 0.9965 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.27e-06/0.1862, allocations: 0 / 0.9965 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.1866, allocations: 191.6 kB / 0.9967 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.1872, allocations: 79.56 kB / 0.9968 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1888, allocations: 1.057 MB / 0.9978 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1891, allocations: 0.8553 MB / 0.9986 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.1894, allocations: 51.33 kB / 0.9987 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1896, allocations: 35.42 kB / 0.9987 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of SimCode: time 1.822e-06/0.1896, allocations: 4 kB / 0.9987 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of Templates: time 0.01285/0.2024, allocations: 5.17 MB / 1.004 GB, free: 1.891 MB / 0.6198 GB