Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.591/2.591, allocations: 287.9 MB / 302.9 MB, free: 8.234 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.001424/0.001424, allocations: 173.1 kB / 371.4 MB, free: 10.69 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.154/2.154, allocations: 205.4 MB / 0.6301 GB, free: 10.37 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.001034/0.001034, allocations: 100.1 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004807, allocations: 18.69 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1682, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005434/0.1737, allocations: 2.634 MB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004627/0.1783, allocations: 1.65 MB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008756/0.1793, allocations: 16 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.1796, allocations: 75.09 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1806, allocations: 147.5 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1817, allocations: 247.6 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1831, allocations: 0.6049 MB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1843, allocations: 443.6 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1848, allocations: 242.6 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.1853, allocations: 294.1 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1855, allocations: 32 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1856, allocations: 27.94 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1858, allocations: 131.4 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.186, allocations: 161.1 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1877, allocations: 0.9781 MB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1877, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.597e-06/0.1877, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.1877, allocations: 0 / 0.9862 GB, free: 20.5 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00385/0.1916, allocations: 1.193 MB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1917, allocations: 8.031 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.1921, allocations: 114.6 kB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.1939, allocations: 0.5706 MB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.1941, allocations: 69.94 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.1943, allocations: 95.91 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.1977, allocations: 0.8471 MB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/0.1978, allocations: 4 kB / 0.9891 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.198, allocations: 36 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.1981, allocations: 20 kB / 0.9891 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.2013, allocations: 0.6207 MB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008689/0.21, allocations: 2.732 MB / 0.9924 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.2133, allocations: 1.331 MB / 0.9937 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/0.2134, allocations: 16.48 kB / 0.9937 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.2149, allocations: 343.1 kB / 0.994 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 8.097e-06/0.215, allocations: 4 kB / 0.994 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.003802/0.2188, allocations: 0.8066 MB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.2189, allocations: 162.8 kB / 0.995 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.2206, allocations: 0.59 MB / 0.9956 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.2207, allocations: 41.7 kB / 0.9956 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.2212, allocations: 416.1 kB / 0.996 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.2215, allocations: 240.5 kB / 0.9962 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.2216, allocations: 20 kB / 0.9962 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2218, allocations: 382.8 kB / 0.9966 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.223, allocations: 233.2 kB / 0.9968 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.2244, allocations: 337.4 kB / 0.9972 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2257, allocations: 259.1 kB / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.2257, allocations: 0 / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002329/0.2281, allocations: 0.6838 MB / 0.9981 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/0.2282, allocations: 362.7 kB / 0.9984 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2282, allocations: 4 kB / 0.9984 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2282, allocations: 7.953 kB / 0.9984 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.2289, allocations: 151.8 kB / 0.9986 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.229, allocations: 4 kB / 0.9986 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.2295, allocations: 107.4 kB / 0.9987 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2295, allocations: 20 kB / 0.9987 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.887e-06/0.2295, allocations: 4 kB / 0.9987 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008589/0.2304, allocations: 471.5 kB / 0.9991 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.479e-06/0.2304, allocations: 0 / 0.9991 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2304, allocations: 4 kB / 0.9992 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.231, allocations: 123.8 kB / 0.9993 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.231, allocations: 12.05 kB / 0.9993 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.2314, allocations: 83.45 kB / 0.9994 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.2314, allocations: 16 kB / 0.9994 GB, free: 6.527 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004119/0.2319, allocations: 300.9 kB / 0.9997 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.232, allocations: 71.06 kB / 0.9997 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.2322, allocations: 82.95 kB / 0.9998 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2322, allocations: 8 kB / 0.9998 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.272e-06/0.2322, allocations: 0 / 0.9998 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2322, allocations: 7.984 kB / 0.9998 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.2349, allocations: 1.586 MB / 1.001 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.235, allocations: 0 / 1.001 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.2357, allocations: 135.9 kB / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-06/0.2357, allocations: 0 / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.2357, allocations: 15.94 kB / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.022e-06/0.2358, allocations: 4 kB / 1.002 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2358, allocations: 3.953 kB / 1.002 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.2378, allocations: 1.022 MB / 1.003 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.238, allocations: 152.1 kB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.2381, allocations: 20 kB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.2385, allocations: 51.95 kB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.2386, allocations: 48.45 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.2387, allocations: 23.98 kB / 1.003 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005588/0.2392, allocations: 419.1 kB / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.47e-07/0.2392, allocations: 0 / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008462/0.2401, allocations: 298.4 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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 Backend phase and start with SimCode phase: time 0.0001699/0.2403, allocations: 133.9 kB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.2421, allocations: 0.8202 MB / 1.004 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.609e-06/0.2421, allocations: 4 kB / 1.004 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.2427, allocations: 307.4 kB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.2436, allocations: 118.8 kB / 1.005 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.2466, allocations: 1.815 MB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.2474, allocations: 1.001 MB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005241/0.248, allocations: 81.2 kB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.2482, allocations: 63.36 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.022e-06/0.2482, allocations: 0 / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.01974/0.268, allocations: 6.511 MB / 1.014 GB, free: 7.352 MB / 0.6355 GB