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: 110.4 kB / 15.99 MB, free: 6.355 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.001224/0.001224, allocations: 194 kB / 16.91 MB, free: 6.191 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.479/1.479, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001403/0.001403, allocations: 68.38 kB / 0.6717 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2746, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.00494/0.2796, allocations: 3.582 MB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2833, allocations: 2.038 MB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.2839, allocations: 23.94 kB / 0.789 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.2843, allocations: 118.8 kB / 0.7892 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.2848, allocations: 119.2 kB / 0.7893 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.2857, allocations: 434.8 kB / 0.7897 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2869, allocations: 1.233 MB / 0.7909 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.2877, allocations: 0.5637 MB / 0.7914 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.2881, allocations: 446.2 kB / 0.7919 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.2885, allocations: 477.5 kB / 0.7923 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.2886, allocations: 124 kB / 0.7924 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.2888, allocations: 144 kB / 0.7926 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.289, allocations: 259 kB / 0.7928 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.2895, allocations: 0.4972 MB / 0.7933 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009698/0.2904, allocations: 1.111 MB / 0.7944 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2904, allocations: 0 / 0.7944 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2904, allocations: 0 / 0.7944 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.2905, allocations: 0 / 0.7944 GB, free: 2.688 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.00235/0.2928, allocations: 1.418 MB / 0.7958 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2929, allocations: 8.031 kB / 0.7958 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.2931, allocations: 119.5 kB / 0.7959 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.2939, allocations: 0.646 MB / 0.7965 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.294, allocations: 66.38 kB / 0.7966 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2941, allocations: 88.38 kB / 0.7967 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.2955, allocations: 0.8172 MB / 0.7975 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2956, allocations: 192 / 0.7975 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.2956, allocations: 35.94 kB / 0.7975 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.2956, allocations: 20 kB / 0.7975 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2968, allocations: 0.609 MB / 0.7981 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.3007, allocations: 2.812 MB / 0.8009 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3021, allocations: 0.6586 MB / 0.8015 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.3026, allocations: 337.7 kB / 0.8018 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.3027, allocations: 16.44 kB / 0.8018 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.3034, allocations: 319.5 kB / 0.8022 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 3.988e-06/0.3034, allocations: 0 / 0.8022 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001573/0.305, allocations: 0.7634 MB / 0.8029 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3051, allocations: 192.5 kB / 0.8031 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/0.306, allocations: 0.7117 MB / 0.8038 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.3061, allocations: 41.7 kB / 0.8038 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.3064, allocations: 451.7 kB / 0.8042 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3066, allocations: 201.1 kB / 0.8044 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3068, allocations: 142.2 kB / 0.8046 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3069, allocations: 330 kB / 0.8049 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.3075, allocations: 263.6 kB / 0.8051 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.3082, allocations: 451.8 kB / 0.8056 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3092, allocations: 0.6222 MB / 0.8062 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3093, allocations: 4 kB / 0.8062 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001464/0.3107, allocations: 0.8095 MB / 0.807 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3108, allocations: 42.06 kB / 0.807 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3108, allocations: 8 kB / 0.807 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3108, allocations: 4 kB / 0.807 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.3114, allocations: 151.7 kB / 0.8072 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3114, allocations: 4 kB / 0.8072 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.312, allocations: 135.1 kB / 0.8073 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.3121, allocations: 31.98 kB / 0.8073 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005598/0.3127, allocations: 366.4 kB / 0.8077 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.3132, allocations: 376.8 kB / 0.808 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000666/0.3138, allocations: 0.5207 MB / 0.8085 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.3138, allocations: 0 / 0.8085 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001013/0.3149, allocations: 0.6886 MB / 0.8092 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.3149, allocations: 37.69 kB / 0.8093 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3149, allocations: 4.375 kB / 0.8093 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.3149, allocations: 8 kB / 0.8093 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3153, allocations: 123.8 kB / 0.8094 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.3154, allocations: 11.94 kB / 0.8094 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.3159, allocations: 99.45 kB / 0.8095 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3159, allocations: 28 kB / 0.8095 GB, free: 2.586 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.0002398/0.3162, allocations: 224.1 kB / 0.8097 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3163, allocations: 87.09 kB / 0.8098 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3165, allocations: 88.02 kB / 0.8099 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3165, allocations: 11.94 kB / 0.8099 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3165, allocations: 3.938 kB / 0.8099 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3165, allocations: 0 / 0.8099 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/0.3174, allocations: 0.7706 MB / 0.8107 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3174, allocations: 0 / 0.8107 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.3179, allocations: 115.8 kB / 0.8108 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3179, allocations: 4 kB / 0.8108 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.318, allocations: 15.98 kB / 0.8108 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.318, allocations: 4 kB / 0.8108 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.318, allocations: 0 / 0.8108 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3195, allocations: 0.886 MB / 0.8117 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.3197, allocations: 160 kB / 0.8118 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.3198, allocations: 16 kB / 0.8118 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.3201, allocations: 52.06 kB / 0.8119 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.3202, allocations: 36.52 kB / 0.8119 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3202, allocations: 16 kB / 0.8119 GB, free: 4 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005781/0.3208, allocations: 499 kB / 0.8124 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3208, allocations: 0 / 0.8124 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007514/0.3215, allocations: 306.8 kB / 0.8127 GB, free: 15.22 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.0002243/0.3218, allocations: 135.1 kB / 0.8128 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.3237, allocations: 1.053 MB / 0.8139 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3237, allocations: 7.938 kB / 0.8139 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.3242, allocations: 268.1 kB / 0.8141 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.325, allocations: 193.8 kB / 0.8143 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3274, allocations: 1.82 MB / 0.8161 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.3279, allocations: 0.9819 MB / 0.817 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.3281, allocations: 67.42 kB / 0.8171 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.3281, allocations: 0 / 0.8171 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of Templates: time 0.01635/0.3444, allocations: 10.15 MB / 0.827 GB, free: 0.5039 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)