Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.566/2.566, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002262/0.002262, allocations: 179.6 kB / 325.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.789/2.789, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 106 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.000474, allocations: 12.41 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 106.3 MB / 0.8989 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005183/0.2491, allocations: 3.688 MB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004102/0.2532, allocations: 1.497 MB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008442/0.2541, allocations: 35.81 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.2543, allocations: 67.17 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2554, allocations: 239.2 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.2574, allocations: 0.5268 MB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.2595, allocations: 0.7821 MB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.2602, allocations: 343.4 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.261, allocations: 370.2 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.2615, allocations: 337.9 kB / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.2616, allocations: 28 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2617, allocations: 28 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2619, allocations: 131.3 kB / 0.9067 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2621, allocations: 177.1 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2631, allocations: 0.8068 MB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2632, allocations: 0 / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2632, allocations: 3.984 kB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.2632, allocations: 0 / 0.9077 GB, free: 56.45 MB / 0.6042 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.003247/0.2665, allocations: 1.247 MB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2665, allocations: 12.03 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.2668, allocations: 134.4 kB / 0.909 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.2685, allocations: 0.6957 MB / 0.9097 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2687, allocations: 79.7 kB / 0.9098 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2688, allocations: 75.98 kB / 0.9099 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.2708, allocations: 0.7289 MB / 0.9106 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2709, allocations: 0 / 0.9106 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.271, allocations: 31.94 kB / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.271, allocations: 19.98 kB / 0.9106 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.2728, allocations: 0.5282 MB / 0.9111 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.2779, allocations: 2.294 MB / 0.9134 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.2804, allocations: 0.6389 MB / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.2805, allocations: 16.55 kB / 0.914 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.2816, allocations: 327 kB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 5.099e-06/0.2816, allocations: 4 kB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.002656/0.2843, allocations: 0.7637 MB / 0.9151 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.2843, allocations: 81.84 kB / 0.9152 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.2855, allocations: 0.7558 MB / 0.9159 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.2856, allocations: 33.7 kB / 0.9159 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.286, allocations: 444.5 kB / 0.9164 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.2862, allocations: 209 kB / 0.9166 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.2863, allocations: 12 kB / 0.9166 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2864, allocations: 330 kB / 0.9169 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.2872, allocations: 209.1 kB / 0.9171 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.288, allocations: 304.5 kB / 0.9174 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.2888, allocations: 230.2 kB / 0.9176 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2889, allocations: 8 kB / 0.9176 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002033/0.2909, allocations: 0.6656 MB / 0.9182 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.2911, allocations: 0.8714 MB / 0.9191 GB, free: 44.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2912, allocations: 7.984 kB / 0.9191 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.2912, allocations: 4 kB / 0.9191 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.2924, allocations: 143.8 kB / 0.9192 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.2924, allocations: 12 kB / 0.9193 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.2933, allocations: 75.34 kB / 0.9193 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.2933, allocations: 20 kB / 0.9193 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2934, allocations: 4 kB / 0.9194 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/0.2951, allocations: 0.5206 MB / 0.9199 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2951, allocations: 8 kB / 0.9199 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2952, allocations: 7.953 kB / 0.9199 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.2963, allocations: 140 kB / 0.92 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2963, allocations: 11.94 kB / 0.92 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.2971, allocations: 71.45 kB / 0.9201 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.2972, allocations: 23.98 kB / 0.9201 GB, free: 43.31 MB / 0.6042 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.0005138/0.2977, allocations: 296.2 kB / 0.9204 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.2979, allocations: 98.78 kB / 0.9205 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.2981, allocations: 109.2 kB / 0.9206 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2981, allocations: 4 kB / 0.9206 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.2982, allocations: 0 / 0.9206 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2982, allocations: 3.984 kB / 0.9206 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.3013, allocations: 1.454 MB / 0.922 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3014, allocations: 3.984 kB / 0.922 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.3025, allocations: 111.8 kB / 0.9221 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.3025, allocations: 7.984 kB / 0.9221 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.3026, allocations: 12 kB / 0.9221 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3026, allocations: 3.984 kB / 0.9222 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3026, allocations: 0 / 0.9222 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.3053, allocations: 0.9707 MB / 0.9231 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.3058, allocations: 231.7 kB / 0.9233 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.3059, allocations: 15.95 kB / 0.9233 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008193/0.3068, allocations: 39.91 kB / 0.9234 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3069, allocations: 36.5 kB / 0.9234 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.307, allocations: 19.98 kB / 0.9234 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000859/0.3079, allocations: 0.5148 MB / 0.9239 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3079, allocations: 0 / 0.9239 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001025/0.3089, allocations: 279 kB / 0.9242 GB, free: 39.01 MB / 0.6042 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.0001718/0.3091, allocations: 112.3 kB / 0.9243 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002671/0.3118, allocations: 0.8002 MB / 0.9251 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3118, allocations: 0 / 0.9251 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.3127, allocations: 275.1 kB / 0.9253 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.3145, allocations: 231.3 kB / 0.9256 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.3184, allocations: 1.824 MB / 0.9273 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3189, allocations: 1.017 MB / 0.9283 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008932/0.3198, allocations: 118.7 kB / 0.9285 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.3201, allocations: 63.42 kB / 0.9285 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.333e-06/0.3201, allocations: 0 / 0.9285 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.02515/0.3453, allocations: 8.388 MB / 0.9367 GB, free: 26.21 MB / 0.6042 GB