Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001323/0.001323, allocations: 198.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 270.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 91.69 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005087/0.1439, allocations: 4.337 MB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1464, allocations: 1.538 MB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.1468, allocations: 35.81 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.1472, allocations: 118.9 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.1478, allocations: 179 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1489, allocations: 0.6174 MB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.1501, allocations: 1.148 MB / 0.6872 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.1508, allocations: 496.4 kB / 0.6877 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.1513, allocations: 417.7 kB / 0.6881 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.1517, allocations: 421.5 kB / 0.6885 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1518, allocations: 55.94 kB / 0.6885 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.1519, allocations: 48 kB / 0.6886 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1521, allocations: 179.1 kB / 0.6888 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.1524, allocations: 441 kB / 0.6892 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008095/0.1532, allocations: 1.047 MB / 0.6902 GB, free: 6.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1532, allocations: 7.938 kB / 0.6902 GB, free: 6.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1532, allocations: 4 kB / 0.6902 GB, free: 6.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1533, allocations: 0 / 0.6902 GB, free: 6.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00223/0.1555, allocations: 1.391 MB / 0.6916 GB, free: 4.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1555, allocations: 12.02 kB / 0.6916 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1557, allocations: 123.4 kB / 0.6917 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.1568, allocations: 0.7274 MB / 0.6924 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/0.1569, allocations: 80.27 kB / 0.6925 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.157, allocations: 76.38 kB / 0.6926 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1583, allocations: 0.7329 MB / 0.6933 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1583, allocations: 0 / 0.6933 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.1584, allocations: 28 kB / 0.6933 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1584, allocations: 16 kB / 0.6933 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1595, allocations: 0.5165 MB / 0.6938 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.1626, allocations: 2.275 MB / 0.696 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.164, allocations: 0.6268 MB / 0.6967 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.1645, allocations: 276.3 kB / 0.6969 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.1646, allocations: 12.56 kB / 0.6969 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.1653, allocations: 315.1 kB / 0.6972 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.344e-06/0.1653, allocations: 0 / 0.6972 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001573/0.1669, allocations: 0.7634 MB / 0.698 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1669, allocations: 85.66 kB / 0.6981 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.1678, allocations: 0.7594 MB / 0.6988 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.1678, allocations: 37.7 kB / 0.6988 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.1682, allocations: 440.5 kB / 0.6993 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1683, allocations: 208.9 kB / 0.6995 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.1685, allocations: 106.3 kB / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1686, allocations: 330 kB / 0.6999 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.1691, allocations: 211.4 kB / 0.7001 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.1696, allocations: 300.5 kB / 0.7004 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/0.1705, allocations: 0.5074 MB / 0.7009 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1706, allocations: 4 kB / 0.7009 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001215/0.1718, allocations: 0.654 MB / 0.7015 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1718, allocations: 8 kB / 0.7015 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1718, allocations: 3.938 kB / 0.7015 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1718, allocations: 8 kB / 0.7015 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.1725, allocations: 139.8 kB / 0.7016 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1725, allocations: 7.938 kB / 0.7017 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.1729, allocations: 75.59 kB / 0.7017 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.173, allocations: 23.98 kB / 0.7017 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006085/0.1736, allocations: 349.4 kB / 0.7021 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004598/0.1741, allocations: 296.4 kB / 0.7024 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008697/0.175, allocations: 495.6 kB / 0.7028 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.175, allocations: 0 / 0.7028 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001194/0.1762, allocations: 0.6344 MB / 0.7035 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.1762, allocations: 4 kB / 0.7035 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1762, allocations: 4 kB / 0.7035 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.1762, allocations: 8.25 kB / 0.7035 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.1768, allocations: 147.7 kB / 0.7036 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1768, allocations: 4 kB / 0.7036 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1772, allocations: 59.44 kB / 0.7037 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1773, allocations: 20 kB / 0.7037 GB, free: 7.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001692/0.1775, allocations: 218.8 kB / 0.7039 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1776, allocations: 94.88 kB / 0.704 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.1778, allocations: 101.2 kB / 0.7041 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1778, allocations: 4 kB / 0.7041 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1778, allocations: 3.938 kB / 0.7041 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1778, allocations: 3.984 kB / 0.7041 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1799, allocations: 1.442 MB / 0.7055 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1799, allocations: 0 / 0.7055 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.1805, allocations: 103.8 kB / 0.7056 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1805, allocations: 4 kB / 0.7056 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.1806, allocations: 15.98 kB / 0.7056 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1806, allocations: 0 / 0.7056 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1806, allocations: 0 / 0.7056 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1822, allocations: 0.9664 MB / 0.7066 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.1824, allocations: 231.7 kB / 0.7068 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.1825, allocations: 12 kB / 0.7068 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.183, allocations: 31.97 kB / 0.7068 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.1831, allocations: 40.59 kB / 0.7069 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.1831, allocations: 16 kB / 0.7069 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005979/0.1837, allocations: 0.5146 MB / 0.7074 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1837, allocations: 0 / 0.7074 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006902/0.1844, allocations: 271.1 kB / 0.7076 GB, free: 3.691 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001275/0.1846, allocations: 133.8 kB / 0.7078 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.1861, allocations: 0.7996 MB / 0.7086 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1862, allocations: 0 / 0.7086 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.1867, allocations: 263.7 kB / 0.7088 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.1878, allocations: 245.7 kB / 0.709 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.1903, allocations: 1.889 MB / 0.7109 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.1909, allocations: 0.9979 MB / 0.7119 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004813/0.1914, allocations: 118.9 kB / 0.712 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.1916, allocations: 67.36 kB / 0.712 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1916, allocations: 0 / 0.712 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.01519/0.2068, allocations: 8.773 MB / 0.7206 GB, free: 6.461 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)