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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008234/0.008234, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001438/0.001438, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.822/1.822, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.055 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.001509/0.001509, allocations: 70.09 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.007367/0.2753, allocations: 4.447 MB / 0.8325 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.279, allocations: 1.447 MB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.2798, allocations: 23.94 kB / 0.8339 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.2805, allocations: 205.8 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.2812, allocations: 146.5 kB / 0.8342 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.2819, allocations: 407.4 kB / 0.8346 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.283, allocations: 1.178 MB / 0.8358 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.284, allocations: 0.6864 MB / 0.8364 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.2845, allocations: 426 kB / 0.8368 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.285, allocations: 485.3 kB / 0.8373 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.2851, allocations: 132 kB / 0.8374 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2853, allocations: 124 kB / 0.8375 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.2855, allocations: 275 kB / 0.8378 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.286, allocations: 0.5243 MB / 0.8383 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2874, allocations: 1.471 MB / 0.8398 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2874, allocations: 0 / 0.8398 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2874, allocations: 0 / 0.8398 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.2874, allocations: 0 / 0.8398 GB, free: 4.16 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002445/0.2898, allocations: 1.445 MB / 0.8412 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2899, allocations: 8.031 kB / 0.8412 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2901, allocations: 135.3 kB / 0.8413 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2912, allocations: 0.6654 MB / 0.842 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.2913, allocations: 78.31 kB / 0.842 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2915, allocations: 108.3 kB / 0.8421 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2931, allocations: 0.9673 MB / 0.8431 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.2931, allocations: 0 / 0.8431 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.2932, allocations: 40 kB / 0.8431 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.2932, allocations: 24 kB / 0.8431 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2945, allocations: 0.6752 MB / 0.8438 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.2993, allocations: 3.502 MB / 0.8472 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3006, allocations: 0.695 MB / 0.8479 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.3013, allocations: 402.9 kB / 0.8483 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.3014, allocations: 12.66 kB / 0.8483 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007115/0.3021, allocations: 348.4 kB / 0.8486 GB, free: 10.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=74): time 4.669e-06/0.3021, allocations: 0 / 0.8486 GB, free: 10.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=74): time 0.00178/0.3039, allocations: 0.8405 MB / 0.8494 GB, free: 9.961 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.304, allocations: 162.9 kB / 0.8496 GB, free: 9.766 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3051, allocations: 0.6803 MB / 0.8503 GB, free: 9.078 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.3052, allocations: 41.7 kB / 0.8503 GB, free: 9.031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.3057, allocations: 488.2 kB / 0.8508 GB, free: 8.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3059, allocations: 256.2 kB / 0.851 GB, free: 8.293 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3062, allocations: 138.7 kB / 0.8511 GB, free: 8.148 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3064, allocations: 333.9 kB / 0.8515 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.307, allocations: 252.7 kB / 0.8517 GB, free: 7.566 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.3077, allocations: 395.7 kB / 0.8521 GB, free: 7.137 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3089, allocations: 0.5825 MB / 0.8527 GB, free: 6.535 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3089, allocations: 0 / 0.8527 GB, free: 6.535 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001548/0.3105, allocations: 0.7581 MB / 0.8534 GB, free: 5.766 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.3105, allocations: 4 kB / 0.8534 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3105, allocations: 4 kB / 0.8534 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.3106, allocations: 4 kB / 0.8534 GB, free: 5.754 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.3113, allocations: 159.8 kB / 0.8536 GB, free: 5.598 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.3113, allocations: 8 kB / 0.8536 GB, free: 5.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.3118, allocations: 107.3 kB / 0.8537 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.3119, allocations: 20 kB / 0.8537 GB, free: 5.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006652/0.3126, allocations: 378 kB / 0.854 GB, free: 5.094 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000442/0.313, allocations: 339.7 kB / 0.8544 GB, free: 4.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007374/0.3138, allocations: 0.4966 MB / 0.8549 GB, free: 4.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.3138, allocations: 160 / 0.8549 GB, free: 4.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001136/0.3149, allocations: 0.6682 MB / 0.8555 GB, free: 3.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3149, allocations: 4 kB / 0.8555 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.315, allocations: 3.984 kB / 0.8555 GB, free: 3.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.315, allocations: 8 kB / 0.8555 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.3155, allocations: 131.8 kB / 0.8557 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3155, allocations: 12.12 kB / 0.8557 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.316, allocations: 79.44 kB / 0.8557 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.316, allocations: 27.98 kB / 0.8558 GB, free: 3.266 MB / 0.67 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,limPIDInp.trigger,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.3164, allocations: 224.1 kB / 0.856 GB, free: 3.039 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.3165, allocations: 86.88 kB / 0.8561 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.3168, allocations: 92.8 kB / 0.8562 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3168, allocations: 8 kB / 0.8562 GB, free: 2.852 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.3168, allocations: 4 kB / 0.8562 GB, free: 2.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3169, allocations: 3.984 kB / 0.8562 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.3199, allocations: 1.64 MB / 0.8578 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.32, allocations: 4 kB / 0.8578 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.3206, allocations: 135.8 kB / 0.8579 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.3206, allocations: 7.938 kB / 0.8579 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3206, allocations: 16 kB / 0.8579 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.3207, allocations: 0 / 0.8579 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3207, allocations: 7.938 kB / 0.8579 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.3226, allocations: 1.058 MB / 0.859 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3228, allocations: 163.9 kB / 0.8591 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.3229, allocations: 16 kB / 0.8591 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.3232, allocations: 43.95 kB / 0.8592 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3234, allocations: 40.55 kB / 0.8592 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.3234, allocations: 23.98 kB / 0.8592 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007337/0.3241, allocations: 475.1 kB / 0.8597 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3242, allocations: 3.938 kB / 0.8597 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001103/0.3253, allocations: 338.3 kB / 0.86 GB, free: 14.8 MB / 0.6856 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 (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.0003044/0.3256, allocations: 127.2 kB / 0.8601 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.3276, allocations: 0.9157 MB / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.3276, allocations: 4.125 kB / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.3282, allocations: 315.6 kB / 0.8613 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3293, allocations: 227.9 kB / 0.8616 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.333, allocations: 1.669 MB / 0.8632 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.3338, allocations: 1.021 MB / 0.8642 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.3343, allocations: 102.3 kB / 0.8643 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3345, allocations: 59.44 kB / 0.8643 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of SimCode: time 1.082e-06/0.3345, allocations: 0 / 0.8643 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.01995/0.3545, allocations: 8.744 MB / 0.8729 GB, free: 1.672 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)