Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.675/2.675, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.001503/0.001503, allocations: 182.7 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.142/2.142, 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.001071/0.001071, allocations: 92.36 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005172, allocations: 10.66 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004055/0.1562, allocations: 3.688 MB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1593, allocations: 1.478 MB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.1601, allocations: 31.81 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1602, allocations: 67.17 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008112/0.1611, allocations: 251.2 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1626, allocations: 0.5158 MB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.1641, allocations: 0.7782 MB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.1647, allocations: 363.3 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.1653, allocations: 366.1 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.1657, allocations: 333.9 kB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.1658, allocations: 28 kB / 0.9864 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.1659, allocations: 27.94 kB / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.166, allocations: 135.2 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1662, allocations: 181.1 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.1669, allocations: 0.8068 MB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.332e-06/0.1669, allocations: 0 / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.115e-06/0.1669, allocations: 0 / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.1669, allocations: 0 / 0.9875 GB, free: 19.14 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002176/0.1691, allocations: 1.247 MB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1692, allocations: 16.02 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1694, allocations: 122.5 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1707, allocations: 0.7112 MB / 0.9896 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.1708, allocations: 79.7 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.171, allocations: 68 kB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.1725, allocations: 0.725 MB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1725, allocations: 4 kB / 0.9904 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.1726, allocations: 28 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1726, allocations: 23.94 kB / 0.9905 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.174, allocations: 0.5243 MB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.178, allocations: 2.29 MB / 0.9932 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1798, allocations: 0.6559 MB / 0.9939 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.1799, allocations: 8.562 kB / 0.9939 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008167/0.1807, allocations: 330.9 kB / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.505e-06/0.1807, allocations: 0 / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001995/0.1827, allocations: 0.7677 MB / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1828, allocations: 89.61 kB / 0.995 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1839, allocations: 0.7482 MB / 0.9958 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.1839, allocations: 41.7 kB / 0.9958 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.1843, allocations: 444.5 kB / 0.9962 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.1844, allocations: 201 kB / 0.9964 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1845, allocations: 12 kB / 0.9964 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.1846, allocations: 333.9 kB / 0.9968 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.1851, allocations: 205.2 kB / 0.9969 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.1858, allocations: 308.4 kB / 0.9972 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.1864, allocations: 234.2 kB / 0.9975 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.227e-06/0.1864, allocations: 0 / 0.9975 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001591/0.188, allocations: 0.6697 MB / 0.9981 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.1883, allocations: 0.8803 MB / 0.999 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-06/0.1883, allocations: 0 / 0.999 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1883, allocations: 8 kB / 0.999 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.1891, allocations: 147.8 kB / 0.9991 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1891, allocations: 4 kB / 0.9991 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.1897, allocations: 83.28 kB / 0.9992 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.1898, allocations: 20 kB / 0.9992 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1898, allocations: 4 kB / 0.9992 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/0.1911, allocations: 0.5246 MB / 0.9997 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-06/0.1911, allocations: 3.984 kB / 0.9997 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1911, allocations: 8 kB / 0.9998 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.1919, allocations: 143.8 kB / 0.9999 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1919, allocations: 7.984 kB / 0.9999 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.1925, allocations: 67.61 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.1925, allocations: 16 kB / 1 GB, free: 5.984 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0004148/0.193, allocations: 304.9 kB / 1 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1931, allocations: 90.88 kB / 1 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1933, allocations: 101.3 kB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.774e-06/0.1933, allocations: 15.89 kB / 1 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.261e-06/0.1934, allocations: 0 / 1 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.783e-06/0.1934, allocations: 3.984 kB / 1 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.196, allocations: 1.458 MB / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.196, allocations: 0 / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.1967, allocations: 111.8 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-06/0.1967, allocations: 3.953 kB / 1.002 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.1968, allocations: 15.98 kB / 1.002 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.625e-06/0.1968, allocations: 4 kB / 1.002 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-06/0.1968, allocations: 4 kB / 1.002 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.1989, allocations: 0.9669 MB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.1993, allocations: 223.7 kB / 1.003 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.1994, allocations: 19.95 kB / 1.003 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.2, allocations: 43.97 kB / 1.003 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2001, allocations: 36.5 kB / 1.003 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.2002, allocations: 16 kB / 1.003 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007472/0.2009, allocations: 0.5109 MB / 1.004 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/0.201, allocations: 3.938 kB / 1.004 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008898/0.2019, allocations: 271.1 kB / 1.004 GB, free: 1.691 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001469/0.202, allocations: 123.2 kB / 1.004 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.204, allocations: 0.7958 MB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.012e-06/0.204, allocations: 0.625 kB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.2047, allocations: 275.1 kB / 1.005 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2059, allocations: 222.7 kB / 1.005 GB, free: 288 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.2096, allocations: 1.843 MB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.2104, allocations: 1.017 MB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007644/0.2112, allocations: 118.7 kB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.2115, allocations: 55.44 kB / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of SimCode: time 1.808e-06/0.2115, allocations: 0 / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.02927/0.2408, allocations: 8.395 MB / 1.017 GB, free: 4.898 MB / 0.6355 GB