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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 108 kB / 15.6 MB, free: 132 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.001173/0.001173, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.674/1.674, allocations: 292.3 MB / 0.5489 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.001483/0.001483, allocations: 68.92 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2254, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005217/0.2307, allocations: 3.597 MB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.2343, allocations: 2.096 MB / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.2351, allocations: 19.94 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.2358, allocations: 170.1 kB / 0.7892 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.2366, allocations: 170.4 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2378, allocations: 490.3 kB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.2395, allocations: 1.233 MB / 0.7911 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.2406, allocations: 0.5638 MB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.2413, allocations: 434.2 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.2419, allocations: 477.5 kB / 0.7925 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.2423, allocations: 128 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.2426, allocations: 147.9 kB / 0.7928 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.2428, allocations: 251.1 kB / 0.793 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.2434, allocations: 0.505 MB / 0.7935 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2447, allocations: 1.39 MB / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2447, allocations: 0 / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2447, allocations: 0 / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.2448, allocations: 0 / 0.7948 GB, free: 1.664 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.003004/0.2478, allocations: 1.405 MB / 0.7962 GB, free: 204 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2478, allocations: 12.03 kB / 0.7962 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.248, allocations: 131.2 kB / 0.7964 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.2483, allocations: 119.6 kB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2493, allocations: 0.6499 MB / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.2494, allocations: 70.36 kB / 0.7972 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.2495, allocations: 84.38 kB / 0.7972 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.2508, allocations: 0.8133 MB / 0.798 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2509, allocations: 3.938 kB / 0.798 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.2509, allocations: 36 kB / 0.7981 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.251, allocations: 20 kB / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2522, allocations: 0.6089 MB / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.2562, allocations: 2.812 MB / 0.8014 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2575, allocations: 0.6551 MB / 0.8021 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.2581, allocations: 341.7 kB / 0.8024 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.2581, allocations: 8.562 kB / 0.8024 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.2588, allocations: 327 kB / 0.8027 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.895e-06/0.2588, allocations: 4 kB / 0.8027 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.00161/0.2604, allocations: 0.7596 MB / 0.8035 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.2606, allocations: 188.5 kB / 0.8037 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.2614, allocations: 0.7117 MB / 0.8043 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.2615, allocations: 37.7 kB / 0.8044 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.2618, allocations: 459.6 kB / 0.8048 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.262, allocations: 205 kB / 0.805 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.2622, allocations: 134.2 kB / 0.8051 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2623, allocations: 334 kB / 0.8055 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.2629, allocations: 267.7 kB / 0.8057 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.2636, allocations: 444.7 kB / 0.8061 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2646, allocations: 0.6221 MB / 0.8067 GB, free: 5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2647, allocations: 0 / 0.8067 GB, free: 5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001498/0.2662, allocations: 0.8134 MB / 0.8075 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.2662, allocations: 41.69 kB / 0.8076 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2662, allocations: 4 kB / 0.8076 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2663, allocations: 8.375 kB / 0.8076 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.2668, allocations: 143.8 kB / 0.8077 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.2668, allocations: 7.984 kB / 0.8077 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.2675, allocations: 131.2 kB / 0.8079 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.2676, allocations: 24 kB / 0.8079 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005133/0.2681, allocations: 374.3 kB / 0.8082 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004404/0.2685, allocations: 384.8 kB / 0.8086 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006556/0.2692, allocations: 0.5129 MB / 0.8091 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.2692, allocations: 0 / 0.8091 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001008/0.2702, allocations: 0.6925 MB / 0.8098 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.2703, allocations: 41.69 kB / 0.8098 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2703, allocations: 4 kB / 0.8098 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.2703, allocations: 8 kB / 0.8098 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.2707, allocations: 119.8 kB / 0.81 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2707, allocations: 12.36 kB / 0.81 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.2713, allocations: 107.5 kB / 0.8101 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2713, allocations: 24 kB / 0.8101 GB, free: 1.422 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.0002033/0.2715, allocations: 232.1 kB / 0.8103 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2716, allocations: 82.97 kB / 0.8104 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.2718, allocations: 80.03 kB / 0.8105 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2718, allocations: 8 kB / 0.8105 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2718, allocations: 7.969 kB / 0.8105 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2718, allocations: 0 / 0.8105 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.2727, allocations: 0.7783 MB / 0.8112 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2727, allocations: 3.984 kB / 0.8112 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.2732, allocations: 111.8 kB / 0.8114 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2732, allocations: 0 / 0.8114 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.2732, allocations: 19.98 kB / 0.8114 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2732, allocations: 4 kB / 0.8114 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2732, allocations: 0 / 0.8114 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.2749, allocations: 0.8901 MB / 0.8122 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.275, allocations: 160 kB / 0.8124 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.2751, allocations: 15.94 kB / 0.8124 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.2755, allocations: 47.95 kB / 0.8125 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.2755, allocations: 32.52 kB / 0.8125 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.2756, allocations: 19.98 kB / 0.8125 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005656/0.2762, allocations: 0.4912 MB / 0.813 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2762, allocations: 0 / 0.813 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007351/0.2769, allocations: 306.8 kB / 0.8133 GB, free: 14.05 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.001915/0.2788, allocations: 1.462 MB / 0.8147 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.2809, allocations: 1.06 MB / 0.8157 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2809, allocations: 0 / 0.8157 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.2814, allocations: 272.3 kB / 0.816 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.2823, allocations: 184.5 kB / 0.8162 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/0.2919, allocations: 6.677 MB / 0.8227 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.2926, allocations: 0.978 MB / 0.8237 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005202/0.2931, allocations: 97.91 kB / 0.8237 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/0.2937, allocations: 347.3 kB / 0.8241 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of SimCode: time 4.999e-06/0.2938, allocations: 0 / 0.8241 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3322, allocations: 15.9 MB / 0.8396 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.999, allocations: 5.234 kB / 0.8396 GB, free: 2.957 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)