Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001565/0.001565, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.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.001295/0.001295, allocations: 76.12 kB / 0.6708 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004999/0.3036, allocations: 3.577 MB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.3075, allocations: 2.053 MB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005376/0.308, allocations: 19.94 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.3085, allocations: 118.8 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.309, allocations: 123.1 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.3099, allocations: 430.5 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009816/0.3109, allocations: 1.131 MB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.3117, allocations: 0.552 MB / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.312, allocations: 362.2 kB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.3124, allocations: 441.5 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3126, allocations: 60 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3127, allocations: 71.98 kB / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3129, allocations: 183.2 kB / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.3133, allocations: 453.1 kB / 0.792 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.3144, allocations: 1.331 MB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3144, allocations: 0 / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3144, allocations: 8 kB / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3144, allocations: 0 / 0.7933 GB, free: 3.07 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002451/0.3169, allocations: 1.398 MB / 0.7947 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3169, allocations: 8.031 kB / 0.7947 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3171, allocations: 123.5 kB / 0.7948 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.318, allocations: 0.6461 MB / 0.7954 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.3181, allocations: 70.36 kB / 0.7955 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3182, allocations: 80.38 kB / 0.7956 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3195, allocations: 0.8134 MB / 0.7964 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3196, allocations: 4.125 kB / 0.7964 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.3196, allocations: 39.94 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3197, allocations: 20 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3208, allocations: 0.6051 MB / 0.797 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/0.3248, allocations: 2.816 MB / 0.7998 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3261, allocations: 0.6553 MB / 0.8004 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.3267, allocations: 333.7 kB / 0.8007 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.3267, allocations: 16.48 kB / 0.8007 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007326/0.3275, allocations: 319 kB / 0.801 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.314e-06/0.3275, allocations: 0 / 0.801 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001595/0.3291, allocations: 0.7673 MB / 0.8018 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3292, allocations: 184.5 kB / 0.802 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/0.3301, allocations: 0.7156 MB / 0.8027 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.3302, allocations: 37.7 kB / 0.8027 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.3306, allocations: 455.7 kB / 0.8031 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.3307, allocations: 197.1 kB / 0.8033 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.3309, allocations: 138.2 kB / 0.8035 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3311, allocations: 330 kB / 0.8038 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.3316, allocations: 263.7 kB / 0.804 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.3323, allocations: 456.7 kB / 0.8045 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.3333, allocations: 0.6143 MB / 0.8051 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3333, allocations: 0 / 0.8051 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00146/0.3348, allocations: 0.8177 MB / 0.8059 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.3348, allocations: 43.89 kB / 0.8059 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3349, allocations: 4 kB / 0.8059 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3349, allocations: 8 kB / 0.8059 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.3355, allocations: 143.8 kB / 0.806 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3355, allocations: 7.938 kB / 0.8061 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.3361, allocations: 143.2 kB / 0.8062 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.3361, allocations: 31.98 kB / 0.8062 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006095/0.3368, allocations: 366.4 kB / 0.8066 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004811/0.3372, allocations: 376.8 kB / 0.8069 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007086/0.338, allocations: 0.5206 MB / 0.8074 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-06/0.338, allocations: 0 / 0.8074 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001114/0.3391, allocations: 0.6963 MB / 0.8081 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.3392, allocations: 38.08 kB / 0.8082 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3392, allocations: 8 kB / 0.8082 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3392, allocations: 8 kB / 0.8082 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.3396, allocations: 115.8 kB / 0.8083 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3396, allocations: 8 kB / 0.8083 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.3402, allocations: 107.5 kB / 0.8084 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.3402, allocations: 27.98 kB / 0.8084 GB, free: 2.984 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0003513/0.3406, allocations: 228.1 kB / 0.8086 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3407, allocations: 82.91 kB / 0.8087 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.3409, allocations: 88.02 kB / 0.8088 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.341, allocations: 11.98 kB / 0.8088 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.341, allocations: 0 / 0.8088 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.341, allocations: 3.984 kB / 0.8088 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.3421, allocations: 0.7628 MB / 0.8096 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3421, allocations: 4 kB / 0.8096 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.3426, allocations: 115.9 kB / 0.8097 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3426, allocations: 0 / 0.8097 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3427, allocations: 12 kB / 0.8097 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3427, allocations: 4 kB / 0.8097 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3427, allocations: 0 / 0.8097 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3445, allocations: 0.8938 MB / 0.8106 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.3446, allocations: 164 kB / 0.8107 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.3447, allocations: 12 kB / 0.8107 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.345, allocations: 47.95 kB / 0.8108 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.3451, allocations: 32.52 kB / 0.8108 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3452, allocations: 16 kB / 0.8108 GB, free: 424 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000669/0.3459, allocations: 499 kB / 0.8113 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3459, allocations: 0 / 0.8113 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001046/0.3469, allocations: 314.8 kB / 0.8116 GB, free: 15.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0003309/0.3473, allocations: 135.1 kB / 0.8117 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.3495, allocations: 1.033 MB / 0.8127 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.3495, allocations: 0 / 0.8127 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.3501, allocations: 276.5 kB / 0.813 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.351, allocations: 167.1 kB / 0.8132 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3538, allocations: 1.789 MB / 0.8149 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.3544, allocations: 0.9743 MB / 0.8159 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.3548, allocations: 97.84 kB / 0.8159 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.355, allocations: 63.41 kB / 0.816 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.355, allocations: 0 / 0.816 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.01645/0.3715, allocations: 8.82 MB / 0.8246 GB, free: 2.293 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)