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.001143/0.001143, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 188.2 kB / 16.62 MB, free: 6.582 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001598/0.001598, allocations: 69.84 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3073, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.006095/0.3135, allocations: 3.589 MB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005054/0.3186, allocations: 2.104 MB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3203, allocations: 19.94 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.3213, allocations: 166.1 kB / 0.7899 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000937/0.3222, allocations: 162.5 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3235, allocations: 0.4904 MB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.3253, allocations: 1.237 MB / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/0.3262, allocations: 0.5676 MB / 0.7923 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.3268, allocations: 442.2 kB / 0.7927 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.3273, allocations: 481.5 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.3275, allocations: 128 kB / 0.7933 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.3277, allocations: 147.9 kB / 0.7934 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.3279, allocations: 247.1 kB / 0.7937 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.3283, allocations: 0.4972 MB / 0.7941 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3299, allocations: 1.44 MB / 0.7955 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3299, allocations: 0 / 0.7955 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3299, allocations: 0 / 0.7955 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.33, allocations: 3.984 kB / 0.7955 GB, free: 0.9648 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.002968/0.333, allocations: 1.402 MB / 0.7969 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.333, allocations: 16.03 kB / 0.7969 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.3333, allocations: 123.5 kB / 0.797 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3344, allocations: 0.6539 MB / 0.7977 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.3345, allocations: 62.38 kB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.3346, allocations: 88.38 kB / 0.7978 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3361, allocations: 0.8133 MB / 0.7986 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3361, allocations: 8.172 kB / 0.7986 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.3362, allocations: 35.94 kB / 0.7987 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3362, allocations: 16 kB / 0.7987 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.3374, allocations: 0.609 MB / 0.7993 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.3413, allocations: 2.785 MB / 0.802 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.3427, allocations: 0.6548 MB / 0.8026 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/0.3433, allocations: 341.7 kB / 0.803 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.3433, allocations: 16.48 kB / 0.803 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.344, allocations: 319.5 kB / 0.8033 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 4.368e-06/0.344, allocations: 3.938 kB / 0.8033 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001886/0.3459, allocations: 0.7596 MB / 0.804 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.346, allocations: 192.5 kB / 0.8042 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.347, allocations: 0.7156 MB / 0.8049 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.347, allocations: 37.7 kB / 0.8049 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.3474, allocations: 447.7 kB / 0.8054 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.3476, allocations: 201.1 kB / 0.8056 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.3478, allocations: 142.2 kB / 0.8057 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.348, allocations: 330 kB / 0.806 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.3485, allocations: 263.6 kB / 0.8063 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.3492, allocations: 451.6 kB / 0.8067 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3503, allocations: 0.6183 MB / 0.8073 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3503, allocations: 0 / 0.8073 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001526/0.3519, allocations: 0.8095 MB / 0.8081 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.3519, allocations: 41.69 kB / 0.8081 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3519, allocations: 4.375 kB / 0.8081 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.352, allocations: 8 kB / 0.8081 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.3526, allocations: 155.7 kB / 0.8083 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3526, allocations: 7.984 kB / 0.8083 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.3532, allocations: 131.1 kB / 0.8084 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.3533, allocations: 32 kB / 0.8085 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005921/0.3539, allocations: 366.4 kB / 0.8088 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004556/0.3543, allocations: 384.8 kB / 0.8092 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006724/0.355, allocations: 0.5207 MB / 0.8097 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.355, allocations: 4 kB / 0.8097 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.00109/0.3561, allocations: 0.6886 MB / 0.8104 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.3562, allocations: 37.69 kB / 0.8104 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3562, allocations: 4 kB / 0.8104 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3562, allocations: 8 kB / 0.8104 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.3566, allocations: 120.2 kB / 0.8105 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3566, allocations: 15.94 kB / 0.8105 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.3572, allocations: 103.5 kB / 0.8106 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.3572, allocations: 24 kB / 0.8107 GB, free: 0.875 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.0002339/0.3575, allocations: 223.5 kB / 0.8109 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3576, allocations: 90.89 kB / 0.811 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3578, allocations: 84.22 kB / 0.811 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3578, allocations: 11.94 kB / 0.811 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.3579, allocations: 3.938 kB / 0.8111 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.3579, allocations: 7.984 kB / 0.8111 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.3588, allocations: 0.7628 MB / 0.8118 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3588, allocations: 0 / 0.8118 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.3593, allocations: 115.8 kB / 0.8119 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3593, allocations: 8 kB / 0.8119 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.3594, allocations: 15.98 kB / 0.8119 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3594, allocations: 4 kB / 0.8119 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3594, allocations: 0 / 0.8119 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.361, allocations: 0.8821 MB / 0.8128 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3612, allocations: 168 kB / 0.813 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.3613, allocations: 12 kB / 0.813 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.3616, allocations: 47.95 kB / 0.813 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.3617, allocations: 32.52 kB / 0.8131 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.3617, allocations: 19.98 kB / 0.8131 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000592/0.3623, allocations: 495 kB / 0.8135 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3623, allocations: 0 / 0.8135 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007744/0.3631, allocations: 314.7 kB / 0.8138 GB, free: 13.51 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.0002222/0.3633, allocations: 123.1 kB / 0.814 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.3652, allocations: 1.037 MB / 0.815 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3652, allocations: 0 / 0.815 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.3657, allocations: 271.1 kB / 0.8152 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.3665, allocations: 186.2 kB / 0.8154 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3688, allocations: 1.415 MB / 0.8168 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.3694, allocations: 0.9819 MB / 0.8177 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.3697, allocations: 93.91 kB / 0.8178 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.3699, allocations: 63.42 kB / 0.8179 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.3699, allocations: 0 / 0.8179 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of Templates: time 0.01926/0.3892, allocations: 9.249 MB / 0.8269 GB, free: 124 kB / 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)