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.0009762/0.0009762, 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.001016/0.001016, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 287 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001638, allocations: 96.77 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1769, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0019/0.1788, allocations: 0.5902 MB / 0.6802 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006746/0.1795, allocations: 323.6 kB / 0.6805 GB, free: 164 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.1795, allocations: 4 kB / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.1795, allocations: 1.531 kB / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.64e-05/0.1796, allocations: 0 / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1799, allocations: 81.16 kB / 0.6806 GB, free: 80 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.18, allocations: 20.8 kB / 0.6806 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.18, allocations: 3.984 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.1801, allocations: 4.625 kB / 0.6806 GB, free: 52 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.1801, allocations: 7.875 kB / 0.6806 GB, free: 44 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1801, allocations: 6 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.1804, allocations: 187.8 kB / 0.6808 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1804, allocations: 11.91 kB / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.1805, allocations: 4 kB / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1806, allocations: 80.08 kB / 0.6809 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.164e-05/0.1807, allocations: 8 kB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1807, allocations: 0 / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1807, allocations: 0 / 0.6809 GB, free: 15.75 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.0003789/0.1811, allocations: 335.5 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1811, allocations: 8.031 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1812, allocations: 0.9375 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1813, allocations: 176.3 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1813, allocations: 384 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1813, allocations: 384 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.1814, allocations: 34.27 kB / 0.6814 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1814, allocations: 192 / 0.6814 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1815, allocations: 7.938 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1815, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.1815, allocations: 7.922 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1816, allocations: 149.7 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.1817, allocations: 26.66 kB / 0.6816 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.1817, allocations: 16.84 kB / 0.6816 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005721/0.1823, allocations: 0.5739 MB / 0.6822 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1823, allocations: 34.56 kB / 0.6822 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1823, allocations: 0 / 0.6822 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005862/0.1829, allocations: 254.2 kB / 0.6825 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.183, allocations: 59.34 kB / 0.6825 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.1831, allocations: 101.8 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.1831, allocations: 29.64 kB / 0.6827 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.1832, allocations: 80.14 kB / 0.6827 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1832, allocations: 11.84 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1832, allocations: 17.94 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1834, allocations: 318.8 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.1835, allocations: 3.984 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.1835, allocations: 17.72 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.1836, allocations: 25.72 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1836, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.061e-05/0.1837, allocations: 57.62 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1837, allocations: 11.94 kB / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1837, allocations: 0 / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1837, allocations: 0 / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.1838, allocations: 7.938 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1838, allocations: 4 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1838, allocations: 3.984 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1838, allocations: 4 kB / 0.6832 GB, free: 13 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 0.0001173/0.1839, allocations: 119.2 kB / 0.6833 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.1839, allocations: 11.84 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.1841, allocations: 53.17 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1841, allocations: 4 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1841, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1841, allocations: 0 / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1842, allocations: 153.7 kB / 0.6835 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1842, allocations: 0 / 0.6835 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.1843, allocations: 7.984 kB / 0.6835 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1843, allocations: 3.938 kB / 0.6835 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1843, allocations: 8 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1843, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1843, allocations: 0 / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1844, allocations: 77.06 kB / 0.6836 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1845, allocations: 77.11 kB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1846, allocations: 11.95 kB / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.1846, allocations: 432 / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1846, allocations: 3.938 kB / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1846, allocations: 8.062 kB / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.1847, allocations: 79.27 kB / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1847, allocations: 0 / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1849, allocations: 31.98 kB / 0.6838 GB, free: 12.26 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.0002416/0.1852, allocations: 123.2 kB / 0.6839 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.1853, allocations: 23.92 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1853, allocations: 0 / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.1853, allocations: 4.125 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1855, allocations: 8 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.1857, allocations: 117.5 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.186, allocations: 0.6807 MB / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.186, allocations: 4 kB / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.186, allocations: 7.438 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.186, allocations: 4 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of Templates: time 0.003433/0.1895, allocations: 1.214 MB / 0.686 GB, free: 10.05 MB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)