Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.001733/0.001733, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 291.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.2 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 102.7 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1672, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001716/0.1689, allocations: 0.5283 MB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.1695, allocations: 318.9 kB / 0.6824 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.1695, allocations: 4 kB / 0.6824 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.1696, allocations: 0 / 0.6824 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.1696, allocations: 0 / 0.6824 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.17, allocations: 103.6 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.17, allocations: 15.94 kB / 0.6825 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1701, allocations: 0 / 0.6825 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.1701, allocations: 8 kB / 0.6826 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.1702, allocations: 11.97 kB / 0.6826 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1702, allocations: 0 / 0.6826 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.1704, allocations: 183.8 kB / 0.6827 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1705, allocations: 11.81 kB / 0.6828 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1705, allocations: 8 kB / 0.6828 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1706, allocations: 79.8 kB / 0.6828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1707, allocations: 3.984 kB / 0.6828 GB, free: 6.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1707, allocations: 0 / 0.6828 GB, free: 6.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1707, allocations: 0 / 0.6828 GB, free: 6.199 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003213/0.171, allocations: 339.4 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.171, allocations: 12.03 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1711, allocations: 0.9375 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1712, allocations: 164.3 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1712, allocations: 4.375 kB / 0.6833 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1712, allocations: 384 / 0.6833 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.1713, allocations: 38.25 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1713, allocations: 4.172 kB / 0.6834 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1714, allocations: 3.938 kB / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1714, allocations: 4 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.1714, allocations: 7.938 kB / 0.6834 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.1715, allocations: 157.7 kB / 0.6835 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.1716, allocations: 18.61 kB / 0.6836 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.1716, allocations: 8.922 kB / 0.6836 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/0.1722, allocations: 0.5778 MB / 0.6841 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1722, allocations: 34.56 kB / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1722, allocations: 0 / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004685/0.1727, allocations: 250.6 kB / 0.6844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1728, allocations: 59.34 kB / 0.6845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.1728, allocations: 97.84 kB / 0.6846 GB, free: 4.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1728, allocations: 25.7 kB / 0.6846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1729, allocations: 88.14 kB / 0.6847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1729, allocations: 11.75 kB / 0.6847 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1729, allocations: 25.64 kB / 0.6847 GB, free: 3.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.1731, allocations: 310.8 kB / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.1731, allocations: 8 kB / 0.685 GB, free: 3.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.1731, allocations: 21.72 kB / 0.685 GB, free: 3.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.1732, allocations: 29.7 kB / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1732, allocations: 0 / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.708e-05/0.1732, allocations: 49.64 kB / 0.6851 GB, free: 3.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1733, allocations: 7.938 kB / 0.6851 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1733, allocations: 3.984 kB / 0.6851 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1733, allocations: 8.062 kB / 0.6851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.1733, allocations: 4 kB / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1734, allocations: 0 / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.1734, allocations: 4 kB / 0.6851 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1734, allocations: 3.938 kB / 0.6851 GB, free: 3.445 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.328e-05/0.1735, allocations: 109.8 kB / 0.6852 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1735, allocations: 7.938 kB / 0.6852 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1736, allocations: 61.02 kB / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1736, allocations: 4 kB / 0.6853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1736, allocations: 0 / 0.6853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1736, allocations: 0 / 0.6853 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.433e-05/0.1737, allocations: 157.7 kB / 0.6855 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1737, allocations: 0 / 0.6855 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.1738, allocations: 4 kB / 0.6855 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1738, allocations: 3.938 kB / 0.6855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1738, allocations: 0 / 0.6855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1738, allocations: 0 / 0.6855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1738, allocations: 0 / 0.6855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1739, allocations: 93.41 kB / 0.6856 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.174, allocations: 77.11 kB / 0.6856 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.174, allocations: 3.938 kB / 0.6856 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.174, allocations: 4.031 kB / 0.6856 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.1741, allocations: 7.938 kB / 0.6856 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.1741, allocations: 0 / 0.6856 GB, free: 2.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.1741, allocations: 83.27 kB / 0.6857 GB, free: 2.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1741, allocations: 0 / 0.6857 GB, free: 2.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1743, allocations: 28.06 kB / 0.6857 GB, free: 2.707 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002089/0.1745, allocations: 131.2 kB / 0.6859 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.1746, allocations: 15.94 kB / 0.6859 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1746, allocations: 0 / 0.6859 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.1747, allocations: 11.98 kB / 0.6859 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1748, allocations: 4 kB / 0.6859 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.1751, allocations: 121.9 kB / 0.686 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1753, allocations: 0.6807 MB / 0.6867 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.1753, allocations: 7.984 kB / 0.6867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.1753, allocations: 11.44 kB / 0.6867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1753, allocations: 0 / 0.6867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of Templates: time 0.003284/0.1786, allocations: 1.209 MB / 0.6879 GB, free: 500 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)