Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008707/0.008707, allocations: 100.9 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 182.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 71.91 kB / 0.7258 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2963, allocations: 104.7 MB / 0.8281 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.004476/0.3008, allocations: 2.798 MB / 0.8308 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3026, allocations: 0.9286 MB / 0.8318 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3028, allocations: 15.94 kB / 0.8318 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3031, allocations: 87.06 kB / 0.8319 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3034, allocations: 71.33 kB / 0.8319 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3038, allocations: 183.7 kB / 0.8321 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000554/0.3043, allocations: 0.5203 MB / 0.8326 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.3048, allocations: 271.1 kB / 0.8329 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.305, allocations: 179.2 kB / 0.833 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3053, allocations: 206.9 kB / 0.8332 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.3053, allocations: 52 kB / 0.8333 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.3054, allocations: 52 kB / 0.8333 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3055, allocations: 111.6 kB / 0.8334 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.3057, allocations: 226.6 kB / 0.8337 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.3063, allocations: 0.6071 MB / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3063, allocations: 0 / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3063, allocations: 0 / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.3064, allocations: 0 / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001371/0.3077, allocations: 0.7793 MB / 0.835 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3078, allocations: 8.031 kB / 0.835 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.3079, allocations: 64.27 kB / 0.8351 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.3085, allocations: 380.7 kB / 0.8354 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3086, allocations: 33.38 kB / 0.8355 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3086, allocations: 40.28 kB / 0.8355 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3093, allocations: 426.7 kB / 0.8359 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3093, allocations: 0 / 0.8359 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.3094, allocations: 16 kB / 0.8359 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/0.3094, allocations: 12 kB / 0.8359 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.31, allocations: 287.7 kB / 0.8362 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3123, allocations: 1.679 MB / 0.8379 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.3129, allocations: 258.9 kB / 0.8381 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.3132, allocations: 132.7 kB / 0.8382 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3132, allocations: 8 kB / 0.8382 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3133, allocations: 30.56 kB / 0.8383 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.3133, allocations: 0 / 0.8383 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0008031/0.3141, allocations: 303.9 kB / 0.8386 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/0.3142, allocations: 110.8 kB / 0.8387 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.3148, allocations: 437.9 kB / 0.8391 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3148, allocations: 33.7 kB / 0.8391 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.315, allocations: 263.7 kB / 0.8394 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.3151, allocations: 71 kB / 0.8394 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3152, allocations: 65.55 kB / 0.8395 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3154, allocations: 354.8 kB / 0.8398 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.3157, allocations: 108.8 kB / 0.8399 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3159, allocations: 185.1 kB / 0.8401 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.3164, allocations: 253.8 kB / 0.8404 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3164, allocations: 4 kB / 0.8404 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006044/0.317, allocations: 351.2 kB / 0.8407 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.317, allocations: 6.812 kB / 0.8407 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.317, allocations: 4 kB / 0.8407 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3171, allocations: 7.938 kB / 0.8407 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3173, allocations: 68.06 kB / 0.8408 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3173, allocations: 4 kB / 0.8408 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3176, allocations: 51.56 kB / 0.8408 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3176, allocations: 12 kB / 0.8408 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00028/0.3179, allocations: 200 kB / 0.841 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001848/0.3181, allocations: 169.1 kB / 0.8412 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002648/0.3183, allocations: 205.6 kB / 0.8414 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-06/0.3183, allocations: 8 kB / 0.8414 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0004202/0.3188, allocations: 300 kB / 0.8417 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.024e-06/0.3188, allocations: 4 kB / 0.8417 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3188, allocations: 7.922 kB / 0.8417 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-06/0.3188, allocations: 4 kB / 0.8417 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.319, allocations: 55.92 kB / 0.8417 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.319, allocations: 7.938 kB / 0.8418 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3192, allocations: 43.83 kB / 0.8418 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3192, allocations: 8 kB / 0.8418 GB, free: 1.793 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.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 (37): * Single equations (assignments): 37 * 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.0001762/0.3194, allocations: 196.2 kB / 0.842 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.3195, allocations: 43.52 kB / 0.842 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.3196, allocations: 39.8 kB / 0.8421 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3196, allocations: 3.938 kB / 0.8421 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3196, allocations: 0 / 0.8421 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3196, allocations: 4 kB / 0.8421 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3207, allocations: 0.7503 MB / 0.8428 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3208, allocations: 0 / 0.8428 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3209, allocations: 39.97 kB / 0.8429 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.321, allocations: 4 kB / 0.8429 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.321, allocations: 8.094 kB / 0.8429 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.321, allocations: 4 kB / 0.8429 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.321, allocations: 7.938 kB / 0.8429 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.3217, allocations: 457.3 kB / 0.8433 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.3218, allocations: 112.7 kB / 0.8434 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3218, allocations: 8.188 kB / 0.8434 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.322, allocations: 15.98 kB / 0.8434 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3221, allocations: 15.98 kB / 0.8435 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3221, allocations: 11.97 kB / 0.8435 GB, free: 15.97 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003328/0.3224, allocations: 319.1 kB / 0.8438 GB, free: 15.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3224, allocations: 0 / 0.8438 GB, free: 15.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004635/0.3229, allocations: 127.5 kB / 0.8439 GB, free: 15.54 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0001776/0.3231, allocations: 107.2 kB / 0.844 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000692/0.3238, allocations: 378.2 kB / 0.8444 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3238, allocations: 0 / 0.8444 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.324, allocations: 99.83 kB / 0.8445 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.3246, allocations: 104 kB / 0.8446 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.326, allocations: 0.6965 MB / 0.8452 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.3265, allocations: 0.8151 MB / 0.846 GB, free: 13.28 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.3267, allocations: 51.19 kB / 0.8461 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.3268, allocations: 31.44 kB / 0.8461 GB, free: 13.21 MB / 0.67 GB Notification: Performance of SimCode: time 5.62e-07/0.3268, allocations: 0 / 0.8461 GB, free: 13.21 MB / 0.67 GB Notification: Performance of Templates: time 0.009488/0.3363, allocations: 3.909 MB / 0.8499 GB, free: 9.348 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)