Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.432/1.432, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.0009958/0.0009958, allocations: 194.6 kB / 372.3 MB, free: 10.08 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.126/1.126, allocations: 205.4 MB / 0.631 GB, free: 9.828 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.0006795/0.0006795, allocations: 98.28 kB / 0.7444 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 15.06 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.002731/0.1442, allocations: 3.646 MB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1458, allocations: 1.038 MB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.1463, allocations: 19.94 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1467, allocations: 134.7 kB / 0.9849 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.1471, allocations: 91.23 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1475, allocations: 247.6 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.1482, allocations: 1.034 MB / 0.9863 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.1489, allocations: 0.6238 MB / 0.9869 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1491, allocations: 258.4 kB / 0.9871 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1493, allocations: 313.8 kB / 0.9874 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.878e-05/0.1494, allocations: 28 kB / 0.9874 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.1495, allocations: 28 kB / 0.9875 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.1496, allocations: 143.2 kB / 0.9876 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1497, allocations: 387.1 kB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.1503, allocations: 1.091 MB / 0.989 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1503, allocations: 0 / 0.989 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1503, allocations: 0 / 0.989 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.1503, allocations: 0 / 0.989 GB, free: 18.09 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001576/0.1519, allocations: 1.239 MB / 0.9903 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.152, allocations: 8.031 kB / 0.9903 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.1521, allocations: 148.1 kB / 0.9904 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1522, allocations: 123.4 kB / 0.9905 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.1528, allocations: 0.6179 MB / 0.9911 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.1529, allocations: 78.38 kB / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.153, allocations: 104.3 kB / 0.9913 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1542, allocations: 0.9101 MB / 0.9922 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1542, allocations: 3.938 kB / 0.9922 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/0.1542, allocations: 44 kB / 0.9922 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.1543, allocations: 20 kB / 0.9922 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1553, allocations: 0.6754 MB / 0.9929 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.1585, allocations: 2.896 MB / 0.9957 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.1594, allocations: 0.73 MB / 0.9964 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.1599, allocations: 418.9 kB / 0.9968 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.16, allocations: 8.656 kB / 0.9969 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.1605, allocations: 380.3 kB / 0.9972 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 1.964e-06/0.1605, allocations: 0 / 0.9972 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001274/0.1618, allocations: 0.8757 MB / 0.9981 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1619, allocations: 162.9 kB / 0.9982 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.1624, allocations: 0.6215 MB / 0.9988 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1624, allocations: 45.69 kB / 0.9989 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1626, allocations: 456.2 kB / 0.9993 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.1627, allocations: 260.2 kB / 0.9996 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.1627, allocations: 12 kB / 0.9996 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.1628, allocations: 334 kB / 0.9999 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.1632, allocations: 257.9 kB / 1 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.1636, allocations: 394 kB / 1.001 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/0.1645, allocations: 0.5847 MB / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1645, allocations: 0 / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001006/0.1655, allocations: 0.7622 MB / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.1656, allocations: 128.3 kB / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1656, allocations: 0 / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1656, allocations: 4 kB / 1.002 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.1661, allocations: 167.8 kB / 1.002 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1661, allocations: 4 kB / 1.002 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.1665, allocations: 115.2 kB / 1.002 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.1665, allocations: 24 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.1665, allocations: 4 kB / 1.002 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000601/0.1671, allocations: 0.5427 MB / 1.003 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1672, allocations: 0 / 1.003 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.1672, allocations: 20.06 kB / 1.003 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.1676, allocations: 139.8 kB / 1.003 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.1676, allocations: 7.938 kB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1678, allocations: 83.34 kB / 1.003 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1679, allocations: 20 kB / 1.003 GB, free: 3.352 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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.0002214/0.1681, allocations: 305 kB / 1.003 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.1682, allocations: 86.91 kB / 1.003 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.1683, allocations: 92.25 kB / 1.004 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1683, allocations: 4 kB / 1.004 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1683, allocations: 4 kB / 1.004 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1683, allocations: 3.984 kB / 1.004 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.17, allocations: 1.652 MB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.17, allocations: 4 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.1705, allocations: 135.9 kB / 1.005 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1705, allocations: 7.938 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1706, allocations: 20 kB / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1706, allocations: 0 / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1706, allocations: 0 / 1.005 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.172, allocations: 1.096 MB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1721, allocations: 167.9 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.1722, allocations: 16 kB / 1.007 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.1725, allocations: 55.95 kB / 1.007 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.1726, allocations: 40.59 kB / 1.007 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.1726, allocations: 24 kB / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004218/0.173, allocations: 439 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.173, allocations: 4 kB / 1.007 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005757/0.1736, allocations: 326.3 kB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001824/0.1754, allocations: 1.681 MB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.1769, allocations: 0.9315 MB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1769, allocations: 4.062 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.1774, allocations: 327.6 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.1781, allocations: 161.9 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/0.1845, allocations: 4.909 MB / 1.015 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.185, allocations: 1.01 MB / 1.016 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003153/0.1853, allocations: 93.91 kB / 1.016 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.1857, allocations: 375.3 kB / 1.017 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/0.1857, allocations: 0 / 1.017 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8554/1.041, allocations: 14.67 MB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.041, allocations: 221.8 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.435, allocations: 2.406 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)