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.001124/0.001124, 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.001096/0.001096, allocations: 192.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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001453/0.001453, allocations: 67.98 kB / 0.6716 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004974/0.2318, allocations: 3.594 MB / 0.787 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.235, allocations: 2.108 MB / 0.7891 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.2353, allocations: 19.94 kB / 0.7891 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.2358, allocations: 166.1 kB / 0.7892 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.2362, allocations: 162.5 kB / 0.7894 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.2371, allocations: 493.7 kB / 0.7899 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2383, allocations: 1.233 MB / 0.7911 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/0.2391, allocations: 0.5637 MB / 0.7916 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.2396, allocations: 446.2 kB / 0.792 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.24, allocations: 473.5 kB / 0.7925 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2402, allocations: 128 kB / 0.7926 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2404, allocations: 144 kB / 0.7928 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.2406, allocations: 247.1 kB / 0.793 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.241, allocations: 0.5089 MB / 0.7935 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2422, allocations: 1.382 MB / 0.7948 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2422, allocations: 0 / 0.7948 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2422, allocations: 4 kB / 0.7948 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.2422, allocations: 0 / 0.7948 GB, free: 1.785 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.002289/0.2445, allocations: 1.41 MB / 0.7962 GB, free: 320 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.2446, allocations: 8.031 kB / 0.7962 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.2447, allocations: 131.2 kB / 0.7964 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2449, allocations: 115.5 kB / 0.7965 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/0.2458, allocations: 0.6461 MB / 0.7971 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.2459, allocations: 70.36 kB / 0.7972 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.246, allocations: 92.31 kB / 0.7972 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.2472, allocations: 0.8056 MB / 0.798 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2473, allocations: 11.88 kB / 0.798 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.2473, allocations: 40 kB / 0.7981 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2474, allocations: 16 kB / 0.7981 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2485, allocations: 0.605 MB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.2521, allocations: 2.816 MB / 0.8014 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2534, allocations: 0.655 MB / 0.8021 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.2539, allocations: 345.7 kB / 0.8024 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.254, allocations: 4.562 kB / 0.8024 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/0.2547, allocations: 327 kB / 0.8027 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.235e-06/0.2547, allocations: 0 / 0.8027 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.001574/0.2563, allocations: 0.7596 MB / 0.8035 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.2564, allocations: 192.4 kB / 0.8037 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.2572, allocations: 0.7077 MB / 0.8043 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.2572, allocations: 45.7 kB / 0.8044 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2575, allocations: 459.7 kB / 0.8048 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2577, allocations: 201 kB / 0.805 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.2579, allocations: 130.2 kB / 0.8051 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.258, allocations: 334 kB / 0.8055 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.2586, allocations: 267.7 kB / 0.8057 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.2592, allocations: 444.7 kB / 0.8061 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2603, allocations: 0.6144 MB / 0.8067 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2603, allocations: 4 kB / 0.8067 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001445/0.2618, allocations: 0.8176 MB / 0.8075 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.2618, allocations: 41.7 kB / 0.8076 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2618, allocations: 0 / 0.8076 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2619, allocations: 8 kB / 0.8076 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.2624, allocations: 143.8 kB / 0.8077 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.2624, allocations: 11.98 kB / 0.8077 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.263, allocations: 135.1 kB / 0.8079 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.2631, allocations: 27.98 kB / 0.8079 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004972/0.2636, allocations: 369.7 kB / 0.8082 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004334/0.264, allocations: 376.8 kB / 0.8086 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006523/0.2647, allocations: 0.5207 MB / 0.8091 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.2647, allocations: 0 / 0.8091 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.0009525/0.2656, allocations: 0.6967 MB / 0.8098 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.2657, allocations: 42.67 kB / 0.8098 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2657, allocations: 0 / 0.8098 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.2657, allocations: 12.12 kB / 0.8098 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.2661, allocations: 119.8 kB / 0.81 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2661, allocations: 7.938 kB / 0.81 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.2666, allocations: 103.5 kB / 0.8101 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2666, allocations: 31.98 kB / 0.8101 GB, free: 1.535 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.0001656/0.2668, allocations: 228.1 kB / 0.8103 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.2669, allocations: 78.97 kB / 0.8104 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.2671, allocations: 88.02 kB / 0.8105 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2671, allocations: 4 kB / 0.8105 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2671, allocations: 7.922 kB / 0.8105 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2671, allocations: 3.984 kB / 0.8105 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.2679, allocations: 0.7783 MB / 0.8112 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2679, allocations: 4 kB / 0.8113 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.2683, allocations: 111.9 kB / 0.8114 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2684, allocations: 4 kB / 0.8114 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2684, allocations: 12 kB / 0.8114 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2684, allocations: 0 / 0.8114 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2684, allocations: 0 / 0.8114 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.27, allocations: 0.886 MB / 0.8122 GB, free: 15.25 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2701, allocations: 172 kB / 0.8124 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.2702, allocations: 12 kB / 0.8124 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.2705, allocations: 39.95 kB / 0.8125 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.2706, allocations: 32.52 kB / 0.8125 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.2706, allocations: 16 kB / 0.8125 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0005455/0.2712, allocations: 0.4951 MB / 0.813 GB, free: 14.48 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2712, allocations: 0 / 0.813 GB, free: 14.48 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0006955/0.2719, allocations: 310.8 kB / 0.8133 GB, free: 14.17 MB / 0.6388 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.002111/0.274, allocations: 1.461 MB / 0.8147 GB, free: 12.69 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.276, allocations: 1.057 MB / 0.8157 GB, free: 11.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.276, allocations: 0 / 0.8157 GB, free: 11.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.2765, allocations: 283.4 kB / 0.816 GB, free: 11.33 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.2773, allocations: 173.8 kB / 0.8162 GB, free: 11.16 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008539/0.2858, allocations: 6.684 MB / 0.8227 GB, free: 4.23 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.2863, allocations: 0.9819 MB / 0.8237 GB, free: 3.219 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.2867, allocations: 93.91 kB / 0.8237 GB, free: 3.125 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.2871, allocations: 343.3 kB / 0.8241 GB, free: 2.789 MB / 0.6388 GB Notification: Performance of SimCode: time 6.12e-07/0.2871, allocations: 0 / 0.8241 GB, free: 2.789 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.3253, allocations: 15.9 MB / 0.8396 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.352, allocations: 8.938 kB / 0.8396 GB, free: 3.074 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)