Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.237/2.237, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 195.4 kB / 499.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 103.7 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001096, allocations: 51.8 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2647, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005607/0.2704, allocations: 4.319 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.2742, allocations: 1.543 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.2756, allocations: 35.81 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.2762, allocations: 118.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2772, allocations: 174.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.2788, allocations: 0.6243 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2802, allocations: 1.156 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.281, allocations: 496.1 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.2815, allocations: 409.8 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.2819, allocations: 421.4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.282, allocations: 48 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.2821, allocations: 48 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2822, allocations: 179.1 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2824, allocations: 445 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.2831, allocations: 1.057 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2831, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2831, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.2831, allocations: 4 kB / 1.229 GB, free: 106.1 MB / 0.823 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.002256/0.2854, allocations: 1.403 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2854, allocations: 15.98 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2856, allocations: 123.4 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2866, allocations: 0.7197 MB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.2867, allocations: 88.25 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.2868, allocations: 68.38 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2878, allocations: 0.7329 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2879, allocations: 11.98 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.2879, allocations: 24 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2879, allocations: 16 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/0.2889, allocations: 0.5165 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.292, allocations: 2.275 MB / 1.235 GB, free: 99.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.2933, allocations: 0.6152 MB / 1.235 GB, free: 99.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.2938, allocations: 280.1 kB / 1.236 GB, free: 99.01 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.2939, allocations: 4.562 kB / 1.236 GB, free: 99.01 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/0.2946, allocations: 327 kB / 1.236 GB, free: 98.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 3.076e-06/0.2946, allocations: 0 / 1.236 GB, free: 98.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.001599/0.2962, allocations: 0.7516 MB / 1.237 GB, free: 97.92 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.2963, allocations: 89.61 kB / 1.237 GB, free: 97.81 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/0.2971, allocations: 0.7517 MB / 1.237 GB, free: 97.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.2972, allocations: 41.7 kB / 1.237 GB, free: 97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.2975, allocations: 436.5 kB / 1.238 GB, free: 96.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2976, allocations: 208.9 kB / 1.238 GB, free: 96.36 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2978, allocations: 114.2 kB / 1.238 GB, free: 96.24 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.2979, allocations: 330 kB / 1.239 GB, free: 95.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.2983, allocations: 211.4 kB / 1.239 GB, free: 95.71 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.2987, allocations: 308.4 kB / 1.239 GB, free: 95.37 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.2996, allocations: 0.5036 MB / 1.24 GB, free: 94.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2996, allocations: 0 / 1.24 GB, free: 94.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0012/0.3008, allocations: 0.654 MB / 1.24 GB, free: 94.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3009, allocations: 5.25 kB / 1.24 GB, free: 94.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3009, allocations: 4 kB / 1.24 GB, free: 94.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.3009, allocations: 4 kB / 1.24 GB, free: 94.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.3017, allocations: 143.8 kB / 1.24 GB, free: 94.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3017, allocations: 11.94 kB / 1.24 GB, free: 94.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.3022, allocations: 79.44 kB / 1.24 GB, free: 93.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.3023, allocations: 20 kB / 1.24 GB, free: 93.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006344/0.3029, allocations: 357.4 kB / 1.241 GB, free: 93.56 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004683/0.3034, allocations: 296.4 kB / 1.241 GB, free: 93.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009249/0.3043, allocations: 491.7 kB / 1.241 GB, free: 92.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.3044, allocations: 4 kB / 1.241 GB, free: 92.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009416/0.3053, allocations: 0.6267 MB / 1.242 GB, free: 92.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3053, allocations: 7.938 kB / 1.242 GB, free: 92.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3053, allocations: 4 kB / 1.242 GB, free: 92.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.3053, allocations: 4 kB / 1.242 GB, free: 92.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.3059, allocations: 148 kB / 1.242 GB, free: 91.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3059, allocations: 4 kB / 1.242 GB, free: 91.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.3063, allocations: 67.44 kB / 1.242 GB, free: 91.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3063, allocations: 20 kB / 1.242 GB, free: 91.84 MB / 0.823 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.3065, allocations: 216.7 kB / 1.243 GB, free: 91.62 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.3066, allocations: 98.77 kB / 1.243 GB, free: 91.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.3068, allocations: 105.2 kB / 1.243 GB, free: 91.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3068, allocations: 8 kB / 1.243 GB, free: 91.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.3068, allocations: 3.938 kB / 1.243 GB, free: 91.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3068, allocations: 3.984 kB / 1.243 GB, free: 91.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3086, allocations: 1.431 MB / 1.244 GB, free: 89.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3086, allocations: 0 / 1.244 GB, free: 89.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.3091, allocations: 111.8 kB / 1.244 GB, free: 89.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3091, allocations: 0 / 1.244 GB, free: 89.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.3092, allocations: 12 kB / 1.244 GB, free: 89.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3092, allocations: 4 kB / 1.244 GB, free: 89.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3092, allocations: 0 / 1.244 GB, free: 89.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/0.3166, allocations: 5.343 MB / 1.25 GB, free: 84.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3169, allocations: 223.7 kB / 1.25 GB, free: 84.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.3169, allocations: 12 kB / 1.25 GB, free: 84.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3173, allocations: 39.95 kB / 1.25 GB, free: 84.01 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/0.3174, allocations: 32.52 kB / 1.25 GB, free: 83.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.3175, allocations: 19.98 kB / 1.25 GB, free: 83.96 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005296/0.318, allocations: 0.5146 MB / 1.25 GB, free: 83.45 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.318, allocations: 4 kB / 1.25 GB, free: 83.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000998/0.319, allocations: 383 kB / 1.251 GB, free: 83.07 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.3192, allocations: 119.2 kB / 1.251 GB, free: 82.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.3207, allocations: 0.8 MB / 1.252 GB, free: 82.15 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3207, allocations: 0 / 1.252 GB, free: 82.15 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.3211, allocations: 267.1 kB / 1.252 GB, free: 81.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3223, allocations: 251 kB / 1.252 GB, free: 81.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.3249, allocations: 2.244 MB / 1.254 GB, free: 79.36 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3252, allocations: 1.01 MB / 1.255 GB, free: 78.32 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005169/0.3257, allocations: 122.8 kB / 1.255 GB, free: 78.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.3259, allocations: 67.42 kB / 1.255 GB, free: 78.12 MB / 0.823 GB Notification: Performance of SimCode: time 8.01e-07/0.3259, allocations: 4 kB / 1.255 GB, free: 78.12 MB / 0.823 GB Notification: Performance of Templates: time 0.01539/0.3413, allocations: 10.22 MB / 1.265 GB, free: 68 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)