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.001085/0.001085, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001157/0.001157, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002055, allocations: 286.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 91.23 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005239/0.1519, allocations: 4.328 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1548, allocations: 1.541 MB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.1552, allocations: 35.81 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1556, allocations: 122.8 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.1561, allocations: 174.8 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1573, allocations: 0.6143 MB / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.1584, allocations: 1.23 MB / 0.6875 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.159, allocations: 0.5043 MB / 0.688 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.1595, allocations: 465.8 kB / 0.6884 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1599, allocations: 465.5 kB / 0.6889 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1601, allocations: 104 kB / 0.689 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1602, allocations: 100 kB / 0.689 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.1603, allocations: 239 kB / 0.6893 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.1607, allocations: 493 kB / 0.6897 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.1615, allocations: 1.106 MB / 0.6908 GB, free: 5.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1615, allocations: 0 / 0.6908 GB, free: 5.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1615, allocations: 0 / 0.6908 GB, free: 5.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1616, allocations: 0 / 0.6908 GB, free: 5.57 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.002171/0.1637, allocations: 1.399 MB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1638, allocations: 8.031 kB / 0.6922 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.164, allocations: 127.4 kB / 0.6923 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.165, allocations: 0.7314 MB / 0.693 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.1651, allocations: 76.27 kB / 0.6931 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.1652, allocations: 72.38 kB / 0.6932 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1665, allocations: 0.7368 MB / 0.6939 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1665, allocations: 0 / 0.6939 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.1666, allocations: 35.94 kB / 0.6939 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1666, allocations: 16 kB / 0.6939 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1677, allocations: 0.5204 MB / 0.6945 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.1707, allocations: 2.275 MB / 0.6967 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.1721, allocations: 0.6303 MB / 0.6973 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.1726, allocations: 272.3 kB / 0.6975 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.1727, allocations: 8.562 kB / 0.6976 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/0.1734, allocations: 327 kB / 0.6979 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.345e-06/0.1734, allocations: 0 / 0.6979 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001561/0.175, allocations: 0.7556 MB / 0.6986 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.175, allocations: 81.67 kB / 0.6987 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.1759, allocations: 0.7594 MB / 0.6994 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.176, allocations: 41.7 kB / 0.6995 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.1763, allocations: 436.5 kB / 0.6999 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1765, allocations: 208.9 kB / 0.7001 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1766, allocations: 110.3 kB / 0.7002 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1767, allocations: 326 kB / 0.7005 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.1772, allocations: 211.4 kB / 0.7007 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.1777, allocations: 312.4 kB / 0.701 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.1787, allocations: 0.4996 MB / 0.7015 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1787, allocations: 4 kB / 0.7015 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001214/0.1799, allocations: 0.6461 MB / 0.7021 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1799, allocations: 8.25 kB / 0.7021 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1799, allocations: 4 kB / 0.7021 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.18, allocations: 4 kB / 0.7021 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.1806, allocations: 155.7 kB / 0.7023 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1806, allocations: 11.92 kB / 0.7023 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.1811, allocations: 63.42 kB / 0.7024 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.1811, allocations: 23.98 kB / 0.7024 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005788/0.1817, allocations: 357.3 kB / 0.7027 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004473/0.1822, allocations: 288.5 kB / 0.703 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000839/0.183, allocations: 499.7 kB / 0.7035 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.183, allocations: 0 / 0.7035 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001115/0.1842, allocations: 0.6383 MB / 0.7041 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1842, allocations: 4 kB / 0.7041 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1842, allocations: 4 kB / 0.7041 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.1842, allocations: 4 kB / 0.7041 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.1848, allocations: 139.8 kB / 0.7042 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1848, allocations: 4 kB / 0.7042 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.1853, allocations: 63.66 kB / 0.7043 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1853, allocations: 24 kB / 0.7043 GB, free: 7.305 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.0001734/0.1855, allocations: 212.9 kB / 0.7045 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1856, allocations: 90.88 kB / 0.7046 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.1858, allocations: 105.2 kB / 0.7047 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1858, allocations: 7.984 kB / 0.7047 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1858, allocations: 3.938 kB / 0.7047 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1858, allocations: 4 kB / 0.7047 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.188, allocations: 1.434 MB / 0.7061 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.188, allocations: 4 kB / 0.7061 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.1886, allocations: 115.8 kB / 0.7062 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.1886, allocations: 4 kB / 0.7063 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.1886, allocations: 12 kB / 0.7063 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1886, allocations: 0 / 0.7063 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1886, allocations: 0 / 0.7063 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.1903, allocations: 0.9587 MB / 0.7072 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.1905, allocations: 231.7 kB / 0.7074 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.1906, allocations: 8 kB / 0.7074 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.1911, allocations: 35.97 kB / 0.7075 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.1912, allocations: 40.44 kB / 0.7075 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.1913, allocations: 16 kB / 0.7075 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006163/0.1919, allocations: 0.5185 MB / 0.708 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1919, allocations: 0 / 0.708 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007105/0.1926, allocations: 279 kB / 0.7083 GB, free: 3.148 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.0001394/0.1927, allocations: 117.3 kB / 0.7084 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.1946, allocations: 0.8214 MB / 0.7092 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1946, allocations: 11.92 kB / 0.7092 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.1951, allocations: 267 kB / 0.7095 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1963, allocations: 253.7 kB / 0.7097 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.199, allocations: 1.891 MB / 0.7116 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.1995, allocations: 0.9937 MB / 0.7125 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005098/0.2001, allocations: 118.8 kB / 0.7126 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2003, allocations: 59.44 kB / 0.7127 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.2003, allocations: 0 / 0.7127 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.0168/0.2171, allocations: 9.184 MB / 0.7217 GB, free: 5.512 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)