Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.482/1.482, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 186 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.4 MB / 0.631 GB, free: 9.801 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007009/0.0007009, allocations: 86.42 kB / 0.7444 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 13.91 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.002283/0.1503, allocations: 2.851 MB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1526, allocations: 2.014 MB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.1531, allocations: 19.94 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1534, allocations: 118.8 kB / 0.9851 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1538, allocations: 112.6 kB / 0.9852 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.1544, allocations: 335.7 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.1551, allocations: 1.081 MB / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.1557, allocations: 0.5325 MB / 0.9871 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1559, allocations: 286.4 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1561, allocations: 329.9 kB / 0.9877 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.1562, allocations: 32 kB / 0.9877 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.1563, allocations: 51.92 kB / 0.9878 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1564, allocations: 127.3 kB / 0.9879 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1566, allocations: 387.2 kB / 0.9883 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.1571, allocations: 1.068 MB / 0.9893 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1571, allocations: 0 / 0.9893 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1571, allocations: 3.938 kB / 0.9893 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.1571, allocations: 0 / 0.9893 GB, free: 17.82 MB / 0.6198 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.001583/0.1587, allocations: 1.255 MB / 0.9905 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1587, allocations: 12.03 kB / 0.9905 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.105e-05/0.1588, allocations: 131.2 kB / 0.9907 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.159, allocations: 119.5 kB / 0.9908 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.1596, allocations: 0.6499 MB / 0.9914 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.1596, allocations: 66.38 kB / 0.9915 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.1597, allocations: 96.22 kB / 0.9916 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1608, allocations: 0.825 MB / 0.9924 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1608, allocations: 11.94 kB / 0.9924 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1609, allocations: 39.98 kB / 0.9924 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1609, allocations: 20 kB / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009985/0.1619, allocations: 0.6363 MB / 0.9931 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.1645, allocations: 2.844 MB / 0.9958 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1657, allocations: 0.7246 MB / 0.9965 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.1661, allocations: 359.5 kB / 0.9969 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1662, allocations: 8.562 kB / 0.9969 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.1667, allocations: 347.6 kB / 0.9972 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 1.683e-06/0.1667, allocations: 0 / 0.9972 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001266/0.168, allocations: 0.8181 MB / 0.998 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.168, allocations: 188.5 kB / 0.9982 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.1686, allocations: 0.7038 MB / 0.9989 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.1687, allocations: 37.7 kB / 0.9989 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1689, allocations: 455.7 kB / 0.9994 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.169, allocations: 209 kB / 0.9996 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.169, allocations: 12 kB / 0.9996 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.169, allocations: 337.9 kB / 0.9999 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.1695, allocations: 281.5 kB / 1 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.17, allocations: 456.8 kB / 1.001 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.1709, allocations: 0.6495 MB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1709, allocations: 4 kB / 1.001 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001169/0.1721, allocations: 0.8412 MB / 1.002 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.1722, allocations: 207.4 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1722, allocations: 0 / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1722, allocations: 8 kB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.1727, allocations: 159.8 kB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1727, allocations: 8 kB / 1.002 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.1733, allocations: 167.1 kB / 1.003 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.1733, allocations: 31.98 kB / 1.003 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-06/0.1733, allocations: 0 / 1.003 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000688/0.174, allocations: 0.602 MB / 1.003 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.174, allocations: 4.375 kB / 1.003 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.174, allocations: 15.98 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.1744, allocations: 115.8 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1744, allocations: 11.98 kB / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.1748, allocations: 127.2 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1749, allocations: 24 kB / 1.003 GB, free: 2.758 MB / 0.6198 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.1751, allocations: 304.1 kB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.1752, allocations: 82.91 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1753, allocations: 88.03 kB / 1.004 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1753, allocations: 8 kB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1753, allocations: 0 / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1753, allocations: 3.984 kB / 1.004 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.1758, allocations: 0.7629 MB / 1.005 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1759, allocations: 0 / 1.005 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.1763, allocations: 127.7 kB / 1.005 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1763, allocations: 11.98 kB / 1.005 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.1764, allocations: 15.98 kB / 1.005 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1764, allocations: 0 / 1.005 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1764, allocations: 0 / 1.005 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.1777, allocations: 0.9447 MB / 1.006 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.1778, allocations: 167.9 kB / 1.006 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.1778, allocations: 12 kB / 1.006 GB, free: 152 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1781, allocations: 63.89 kB / 1.006 GB, free: 88 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1782, allocations: 32.52 kB / 1.006 GB, free: 56 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.1782, allocations: 19.98 kB / 1.006 GB, free: 36 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005034/0.1787, allocations: 495 kB / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1787, allocations: 0 / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005976/0.1793, allocations: 310.8 kB / 1.007 GB, free: 15.25 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.1812, allocations: 1.525 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.1827, allocations: 1.065 MB / 1.009 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1827, allocations: 4.062 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.1832, allocations: 295.1 kB / 1.01 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.1839, allocations: 163.1 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.1904, allocations: 4.906 MB / 1.015 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1908, allocations: 0.9821 MB / 1.016 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.1912, allocations: 93.91 kB / 1.016 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.1915, allocations: 347.3 kB / 1.016 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of SimCode: time 2.415e-06/0.1916, allocations: 0 / 1.016 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/1.289, allocations: 15.86 MB / 1.031 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.289, allocations: 201.3 kB / 1.032 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.215, allocations: 0 / 1.032 GB, free: 5.773 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)