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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 251.2 MB / 266.2 MB, free: 11.54 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.002595/0.002595, allocations: 172.7 kB / 325.8 MB, free: 2.809 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.743/2.743, allocations: 205.4 MB / 0.5767 GB, free: 20.77 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.001081/0.001081, allocations: 93.97 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 15.28 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1986, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00512/0.2038, allocations: 3.695 MB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003724/0.2076, allocations: 1.342 MB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.2088, allocations: 27.94 kB / 0.904 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007571/0.2096, allocations: 142.5 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009342/0.2105, allocations: 91.19 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2119, allocations: 259.7 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.2141, allocations: 1.06 MB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.2163, allocations: 0.6496 MB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.217, allocations: 258.3 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.2175, allocations: 317.7 kB / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.2177, allocations: 32 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2179, allocations: 28 kB / 0.9068 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.2181, allocations: 143.2 kB / 0.9069 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.2183, allocations: 189 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.2201, allocations: 1.068 MB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.2201, allocations: 4 kB / 0.9081 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2201, allocations: 0 / 0.9081 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.2202, allocations: 0 / 0.9081 GB, free: 56.06 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004563/0.2248, allocations: 1.295 MB / 0.9094 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.2248, allocations: 15.97 kB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.2253, allocations: 131.3 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.2273, allocations: 0.6231 MB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2274, allocations: 74.38 kB / 0.9102 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.2277, allocations: 100.4 kB / 0.9103 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.2312, allocations: 0.9712 MB / 0.9112 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.2313, allocations: 7.938 kB / 0.9113 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.2315, allocations: 40 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.2316, allocations: 24 kB / 0.9113 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.2349, allocations: 0.6948 MB / 0.912 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009711/0.2446, allocations: 3.588 MB / 0.9155 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.2476, allocations: 0.7184 MB / 0.9162 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.2492, allocations: 426.8 kB / 0.9166 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.57e-05/0.2493, allocations: 8.656 kB / 0.9166 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.2509, allocations: 368.3 kB / 0.917 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 5.881e-06/0.2509, allocations: 0 / 0.917 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.004043/0.255, allocations: 0.8873 MB / 0.9178 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.2551, allocations: 162.9 kB / 0.918 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.2568, allocations: 0.6767 MB / 0.9186 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.257, allocations: 41.7 kB / 0.9187 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005287/0.2575, allocations: 483.8 kB / 0.9191 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.2579, allocations: 252.4 kB / 0.9194 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.258, allocations: 12 kB / 0.9194 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2581, allocations: 341.9 kB / 0.9197 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2595, allocations: 249.9 kB / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.261, allocations: 407.7 kB / 0.9204 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2624, allocations: 298.9 kB / 0.9206 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.2624, allocations: 4 kB / 0.9206 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003268/0.2657, allocations: 0.7737 MB / 0.9214 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.2658, allocations: 142.2 kB / 0.9215 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.2659, allocations: 0 / 0.9215 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.2659, allocations: 8 kB / 0.9215 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.2677, allocations: 167.8 kB / 0.9217 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/0.2678, allocations: 7.938 kB / 0.9217 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.2691, allocations: 123.2 kB / 0.9218 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.2693, allocations: 28.08 kB / 0.9219 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2693, allocations: 4 kB / 0.9219 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/0.2712, allocations: 0.5583 MB / 0.9224 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2713, allocations: 4.188 kB / 0.9224 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2713, allocations: 4 kB / 0.9224 GB, free: 41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.2726, allocations: 139.8 kB / 0.9225 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.2727, allocations: 7.938 kB / 0.9225 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.2736, allocations: 91.25 kB / 0.9226 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.2737, allocations: 20 kB / 0.9227 GB, free: 40.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0007259/0.2744, allocations: 308.9 kB / 0.9229 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.2747, allocations: 86.95 kB / 0.923 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.275, allocations: 96.81 kB / 0.9231 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.275, allocations: 4 kB / 0.9231 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.275, allocations: 4 kB / 0.9231 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.2751, allocations: 3.984 kB / 0.9231 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.28, allocations: 1.679 MB / 0.9248 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.2801, allocations: 0 / 0.9248 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.2818, allocations: 143.8 kB / 0.9249 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.2819, allocations: 8 kB / 0.9249 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.282, allocations: 19.92 kB / 0.9249 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.282, allocations: 4 kB / 0.9249 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.282, allocations: 0 / 0.9249 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.2863, allocations: 1.096 MB / 0.926 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.2867, allocations: 171.9 kB / 0.9262 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.2869, allocations: 16 kB / 0.9262 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009143/0.2879, allocations: 47.97 kB / 0.9262 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.288, allocations: 48.62 kB / 0.9263 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.2881, allocations: 31.92 kB / 0.9263 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001118/0.2893, allocations: 467 kB / 0.9268 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.01e-07/0.2893, allocations: 4 kB / 0.9268 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001695/0.291, allocations: 330.3 kB / 0.9271 GB, free: 36.11 MB / 0.6042 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 (74): * Single equations (assignments): 74 * 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.0002881/0.2913, allocations: 129 kB / 0.9272 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00377/0.2951, allocations: 0.9465 MB / 0.9281 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.2952, allocations: 0 / 0.9281 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.2965, allocations: 328.2 kB / 0.9284 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.299, allocations: 212.7 kB / 0.9286 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.305, allocations: 2.041 MB / 0.9306 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.3058, allocations: 1.021 MB / 0.9316 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001027/0.3069, allocations: 94.3 kB / 0.9317 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.3073, allocations: 67.42 kB / 0.9318 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.583e-06/0.3073, allocations: 0 / 0.9318 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.03459/0.3419, allocations: 7.813 MB / 0.9394 GB, free: 23.49 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)