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.001352/0.001352, allocations: 108 kB / 15.61 MB, free: 152 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.001378/0.001378, allocations: 197 kB / 16.53 MB, free: 6.664 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.777/1.777, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.827/1.827, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001576/0.001577, allocations: 71.28 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3031, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005492/0.3087, allocations: 3.59 MB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005543/0.3143, allocations: 2.108 MB / 0.789 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.3153, allocations: 19.94 kB / 0.789 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.3159, allocations: 166.1 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006405/0.3165, allocations: 158.5 kB / 0.7893 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3177, allocations: 498.3 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.319, allocations: 1.233 MB / 0.791 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008433/0.3199, allocations: 0.5715 MB / 0.7915 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.3204, allocations: 438.2 kB / 0.7919 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.3209, allocations: 477.5 kB / 0.7924 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3211, allocations: 124 kB / 0.7925 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.3213, allocations: 144 kB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3215, allocations: 255 kB / 0.7929 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.322, allocations: 0.5011 MB / 0.7934 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.3234, allocations: 1.386 MB / 0.7947 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.3235, allocations: 3.984 kB / 0.7947 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3235, allocations: 0 / 0.7947 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.3235, allocations: 0 / 0.7947 GB, free: 1.77 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.002757/0.3263, allocations: 1.406 MB / 0.7961 GB, free: 308 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3263, allocations: 15.97 kB / 0.7961 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.3266, allocations: 115.5 kB / 0.7962 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3276, allocations: 0.6499 MB / 0.7969 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.3277, allocations: 70.38 kB / 0.7969 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3278, allocations: 84.38 kB / 0.797 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3293, allocations: 0.8172 MB / 0.7978 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3293, allocations: 4.188 kB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.3294, allocations: 39.94 kB / 0.7979 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3294, allocations: 16 kB / 0.7979 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3307, allocations: 0.6051 MB / 0.7985 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.3353, allocations: 2.816 MB / 0.8012 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3368, allocations: 0.6547 MB / 0.8019 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.3374, allocations: 337.7 kB / 0.8022 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.3375, allocations: 12.5 kB / 0.8022 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007374/0.3382, allocations: 319.5 kB / 0.8025 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.968e-06/0.3382, allocations: 3.938 kB / 0.8025 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001814/0.34, allocations: 0.7596 MB / 0.8032 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.3402, allocations: 192.5 kB / 0.8034 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.3412, allocations: 0.7117 MB / 0.8041 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.3413, allocations: 41.7 kB / 0.8042 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.3416, allocations: 455.7 kB / 0.8046 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.3418, allocations: 197.1 kB / 0.8048 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.3421, allocations: 134.2 kB / 0.8049 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3422, allocations: 334 kB / 0.8052 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.3428, allocations: 267.7 kB / 0.8055 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/0.3436, allocations: 444.7 kB / 0.8059 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3448, allocations: 0.6183 MB / 0.8065 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3448, allocations: 4 kB / 0.8065 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002001/0.3468, allocations: 0.8099 MB / 0.8073 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.3469, allocations: 41.7 kB / 0.8073 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3469, allocations: 4 kB / 0.8073 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/0.347, allocations: 8 kB / 0.8074 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.3476, allocations: 147.7 kB / 0.8075 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.3476, allocations: 8 kB / 0.8075 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.3484, allocations: 135.2 kB / 0.8076 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.3484, allocations: 31.98 kB / 0.8077 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007226/0.3492, allocations: 361.7 kB / 0.808 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005589/0.3497, allocations: 384.8 kB / 0.8084 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007998/0.3506, allocations: 0.5208 MB / 0.8089 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.3506, allocations: 3.938 kB / 0.8089 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001451/0.352, allocations: 0.7004 MB / 0.8096 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.3521, allocations: 38.64 kB / 0.8096 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3521, allocations: 3.984 kB / 0.8096 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3521, allocations: 8 kB / 0.8096 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.3526, allocations: 115.8 kB / 0.8097 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3526, allocations: 11.94 kB / 0.8097 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.3533, allocations: 107.7 kB / 0.8098 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.3534, allocations: 27.98 kB / 0.8099 GB, free: 1.652 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.0003372/0.3537, allocations: 220.1 kB / 0.8101 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3538, allocations: 82.91 kB / 0.8102 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.3542, allocations: 92.02 kB / 0.8102 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3542, allocations: 4 kB / 0.8102 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.3542, allocations: 0 / 0.8102 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3542, allocations: 7.984 kB / 0.8103 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.3552, allocations: 0.7706 MB / 0.811 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3552, allocations: 0 / 0.811 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.3557, allocations: 115.8 kB / 0.8111 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3557, allocations: 4 kB / 0.8111 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3557, allocations: 8 kB / 0.8111 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3557, allocations: 4 kB / 0.8111 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3558, allocations: 0 / 0.8111 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.3579, allocations: 0.8938 MB / 0.812 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.3581, allocations: 168 kB / 0.8122 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3582, allocations: 12 kB / 0.8122 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.3585, allocations: 39.95 kB / 0.8122 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.3586, allocations: 32.52 kB / 0.8122 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3586, allocations: 16.12 kB / 0.8123 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006995/0.3594, allocations: 0.4951 MB / 0.8127 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.3594, allocations: 0 / 0.8127 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001003/0.3604, allocations: 306.8 kB / 0.813 GB, free: 14.3 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.0003288/0.3607, allocations: 131.1 kB / 0.8132 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002355/0.3631, allocations: 1.061 MB / 0.8142 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3631, allocations: 3.938 kB / 0.8142 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.3636, allocations: 275.2 kB / 0.8145 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.3645, allocations: 179.1 kB / 0.8146 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3673, allocations: 1.443 MB / 0.816 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.368, allocations: 0.978 MB / 0.817 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004513/0.3685, allocations: 97.91 kB / 0.8171 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3687, allocations: 67.36 kB / 0.8172 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of SimCode: time 1.553e-06/0.3687, allocations: 0 / 0.8172 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of Templates: time 0.0195/0.3882, allocations: 9.249 MB / 0.8262 GB, free: 0.8398 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)