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.008448/0.008448, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001521/0.001521, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.807/1.807, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.626/1.626, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.0015/0.0015, allocations: 75.83 kB / 0.7258 GB, free: 8.949 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2929, allocations: 104.7 MB / 0.8281 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.004566/0.2975, allocations: 2.802 MB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2995, allocations: 0.9247 MB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.2998, allocations: 15.94 kB / 0.8318 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.3001, allocations: 87.05 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3004, allocations: 71.34 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.3007, allocations: 191.7 kB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.3013, allocations: 0.5164 MB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.3018, allocations: 271.1 kB / 0.8329 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.3019, allocations: 187.1 kB / 0.833 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3022, allocations: 191 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.3023, allocations: 56 kB / 0.8333 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.3023, allocations: 52 kB / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3024, allocations: 111.5 kB / 0.8334 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3026, allocations: 226.7 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.3032, allocations: 0.607 MB / 0.8342 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3032, allocations: 4 kB / 0.8342 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3032, allocations: 0 / 0.8342 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3032, allocations: 0 / 0.8342 GB, free: 9.812 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.001281/0.3045, allocations: 0.7754 MB / 0.835 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3046, allocations: 12.03 kB / 0.835 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.3047, allocations: 52.28 kB / 0.8351 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.3054, allocations: 392.7 kB / 0.8354 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.3054, allocations: 29.38 kB / 0.8355 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.3055, allocations: 44.28 kB / 0.8355 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.3062, allocations: 422.8 kB / 0.8359 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3062, allocations: 7.875 kB / 0.8359 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.3063, allocations: 16 kB / 0.8359 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3063, allocations: 8 kB / 0.8359 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.3068, allocations: 291.8 kB / 0.8362 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.309, allocations: 1.672 MB / 0.8379 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3097, allocations: 270.8 kB / 0.8381 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.31, allocations: 116.8 kB / 0.8382 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.31, allocations: 7.984 kB / 0.8382 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.31, allocations: 42.55 kB / 0.8383 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.31, allocations: 0 / 0.8383 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0007355/0.3108, allocations: 303.7 kB / 0.8386 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.3109, allocations: 106.8 kB / 0.8387 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.3114, allocations: 441.9 kB / 0.8391 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3115, allocations: 29.7 kB / 0.8391 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3117, allocations: 263.7 kB / 0.8394 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.3118, allocations: 74.98 kB / 0.8394 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3119, allocations: 61.61 kB / 0.8395 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3121, allocations: 350.8 kB / 0.8398 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3123, allocations: 112.8 kB / 0.8399 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3126, allocations: 185.1 kB / 0.8401 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3131, allocations: 256.4 kB / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3132, allocations: 0 / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007345/0.3139, allocations: 352.6 kB / 0.8407 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3139, allocations: 8 kB / 0.8407 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3139, allocations: 0 / 0.8407 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.314, allocations: 7.938 kB / 0.8407 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3142, allocations: 71.89 kB / 0.8408 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3143, allocations: 8.156 kB / 0.8408 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3145, allocations: 51.52 kB / 0.8408 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3145, allocations: 11.98 kB / 0.8408 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002591/0.3148, allocations: 196.1 kB / 0.841 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002073/0.315, allocations: 169.1 kB / 0.8412 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000337/0.3154, allocations: 201 kB / 0.8414 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.3154, allocations: 0 / 0.8414 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0004202/0.3158, allocations: 308.9 kB / 0.8417 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3158, allocations: 8 kB / 0.8417 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.3158, allocations: 0 / 0.8417 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.3158, allocations: 4 kB / 0.8417 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.316, allocations: 51.92 kB / 0.8417 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3161, allocations: 11.92 kB / 0.8418 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.3163, allocations: 43.61 kB / 0.8418 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3163, allocations: 16.16 kB / 0.8418 GB, free: 1.656 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.0001458/0.3164, allocations: 192.2 kB / 0.842 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.3165, allocations: 35.53 kB / 0.842 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.348e-05/0.3166, allocations: 43.8 kB / 0.8421 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3166, allocations: 11.92 kB / 0.8421 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3166, allocations: 0 / 0.8421 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3166, allocations: 0 / 0.8421 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.318, allocations: 0.7453 MB / 0.8428 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.318, allocations: 4 kB / 0.8428 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.3182, allocations: 47.91 kB / 0.8429 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3183, allocations: 4 kB / 0.8429 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3183, allocations: 4 kB / 0.8429 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3183, allocations: 4.078 kB / 0.8429 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3183, allocations: 8 kB / 0.8429 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.3192, allocations: 449.3 kB / 0.8433 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3193, allocations: 120.7 kB / 0.8434 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3194, allocations: 7.984 kB / 0.8434 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3196, allocations: 19.92 kB / 0.8434 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3196, allocations: 15.98 kB / 0.8435 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3196, allocations: 4 kB / 0.8435 GB, free: 15.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000388/0.32, allocations: 311.1 kB / 0.8438 GB, free: 15.55 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.565e-06/0.32, allocations: 4 kB / 0.8438 GB, free: 15.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004921/0.3205, allocations: 131.5 kB / 0.8439 GB, free: 15.41 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.0002712/0.3208, allocations: 103.2 kB / 0.844 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008047/0.3216, allocations: 378.5 kB / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3216, allocations: 0 / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3218, allocations: 95.83 kB / 0.8444 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.3225, allocations: 111.8 kB / 0.8445 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.3241, allocations: 0.6942 MB / 0.8452 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.3247, allocations: 0.8229 MB / 0.846 GB, free: 13.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.3248, allocations: 47.38 kB / 0.8461 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.3249, allocations: 31.42 kB / 0.8461 GB, free: 13.08 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.325, allocations: 4 kB / 0.8461 GB, free: 13.08 MB / 0.67 GB Notification: Performance of Templates: time 0.008947/0.3339, allocations: 3.908 MB / 0.8499 GB, free: 9.215 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)