Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.002019/0.002019, allocations: 184.8 kB / 325.8 MB, free: 2.773 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.643/2.643, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.0008755/0.0008754, allocations: 90.34 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004702, allocations: 14.59 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 106.3 MB / 0.8991 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006314/0.211, allocations: 4.639 MB / 0.9036 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.2155, allocations: 1.709 MB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.2167, allocations: 31.88 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.2175, allocations: 182.2 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2186, allocations: 134.9 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.2202, allocations: 323.5 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.2225, allocations: 1.386 MB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2241, allocations: 0.6815 MB / 0.9079 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.2247, allocations: 329.9 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.2252, allocations: 405.3 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.2254, allocations: 32 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2255, allocations: 36 kB / 0.9087 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2257, allocations: 175 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2259, allocations: 213 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.2272, allocations: 1.286 MB / 0.9103 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2273, allocations: 0 / 0.9103 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2273, allocations: 0 / 0.9103 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.405e-05/0.2274, allocations: 0 / 0.9103 GB, free: 53.79 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004445/0.2318, allocations: 1.533 MB / 0.9118 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2319, allocations: 8.031 kB / 0.9118 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.2323, allocations: 155.1 kB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.234, allocations: 0.7437 MB / 0.9127 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.2341, allocations: 78.45 kB / 0.9128 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.2343, allocations: 112.3 kB / 0.9129 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.2373, allocations: 1.116 MB / 0.914 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.283e-05/0.2374, allocations: 3.938 kB / 0.914 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.2376, allocations: 44 kB / 0.914 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.2376, allocations: 24 kB / 0.914 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.2408, allocations: 0.8783 MB / 0.9149 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008007/0.2489, allocations: 4.151 MB / 0.9189 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.2528, allocations: 1.074 MB / 0.92 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.2544, allocations: 499.4 kB / 0.9205 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.231e-05/0.2546, allocations: 12.98 kB / 0.9205 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.2561, allocations: 469 kB / 0.9209 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=84): time 4.308e-06/0.2561, allocations: 0 / 0.9209 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84): time 0.004057/0.2602, allocations: 1.143 MB / 0.922 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.2603, allocations: 222.6 kB / 0.9223 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.2619, allocations: 0.8743 MB / 0.9231 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.2622, allocations: 41.7 kB / 0.9232 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.2627, allocations: 0.5431 MB / 0.9237 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.263, allocations: 287.8 kB / 0.924 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.263, allocations: 20 kB / 0.924 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.2631, allocations: 337.9 kB / 0.9243 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.2645, allocations: 357.8 kB / 0.9246 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.266, allocations: 0.5242 MB / 0.9252 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2675, allocations: 390.8 kB / 0.9255 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2675, allocations: 4 kB / 0.9255 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003323/0.2708, allocations: 0.996 MB / 0.9265 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.271, allocations: 154.3 kB / 0.9266 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.271, allocations: 3.938 kB / 0.9267 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.271, allocations: 8 kB / 0.9267 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.2727, allocations: 215.7 kB / 0.9269 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.2727, allocations: 11.94 kB / 0.9269 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2741, allocations: 174.9 kB / 0.927 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2743, allocations: 28 kB / 0.9271 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2743, allocations: 8 kB / 0.9271 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/0.2762, allocations: 0.6871 MB / 0.9277 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2762, allocations: 8.234 kB / 0.9278 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2762, allocations: 8 kB / 0.9278 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.2776, allocations: 179.7 kB / 0.9279 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.2776, allocations: 4 kB / 0.9279 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2787, allocations: 131.1 kB / 0.9281 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.2788, allocations: 24 kB / 0.9281 GB, free: 35.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0006409/0.2795, allocations: 341.7 kB / 0.9284 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.2797, allocations: 106.6 kB / 0.9285 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.28, allocations: 115.2 kB / 0.9286 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.28, allocations: 11.98 kB / 0.9286 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.28, allocations: 4 kB / 0.9286 GB, free: 34.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.28, allocations: 7.984 kB / 0.9286 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2815, allocations: 0.9753 MB / 0.9296 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.2815, allocations: 0 / 0.9296 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.2831, allocations: 175.8 kB / 0.9298 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.2831, allocations: 8 kB / 0.9298 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.2832, allocations: 16 kB / 0.9298 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.2832, allocations: 4 kB / 0.9298 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2833, allocations: 0 / 0.9298 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/0.2876, allocations: 1.319 MB / 0.9311 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.2879, allocations: 195.5 kB / 0.9313 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.2882, allocations: 16 kB / 0.9313 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.2891, allocations: 87.92 kB / 0.9314 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.2893, allocations: 56.86 kB / 0.9314 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.2894, allocations: 20 kB / 0.9314 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0011/0.2905, allocations: 0.5995 MB / 0.932 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.31e-07/0.2905, allocations: 0 / 0.932 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0012/0.2917, allocations: 374.5 kB / 0.9324 GB, free: 30.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002226/0.292, allocations: 127.1 kB / 0.9325 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003763/0.2957, allocations: 1.206 MB / 0.9337 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.2958, allocations: 4 kB / 0.9337 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2972, allocations: 417.9 kB / 0.9341 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.299, allocations: 257.6 kB / 0.9343 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.3034, allocations: 2.274 MB / 0.9366 GB, free: 26.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.304, allocations: 1.074 MB / 0.9376 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.3049, allocations: 132.2 kB / 0.9377 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.3052, allocations: 75.42 kB / 0.9378 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.3052, allocations: 0 / 0.9378 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.02914/0.3344, allocations: 10.22 MB / 0.9478 GB, free: 14.82 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)