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.0008685/0.0008688, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008165/0.0008165, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 269.8 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 12.75 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1775, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0006879/0.1783, allocations: 255.1 kB / 0.6847 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006498/0.1789, allocations: 296 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.179, allocations: 4.562 kB / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.179, allocations: 0 / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.179, allocations: 1.094 kB / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1793, allocations: 61.28 kB / 0.6851 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.1794, allocations: 17.11 kB / 0.6851 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.1795, allocations: 4 kB / 0.6851 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.578e-05/0.1795, allocations: 0 / 0.6851 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1795, allocations: 8.547 kB / 0.6851 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1796, allocations: 0 / 0.6851 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.1799, allocations: 184.8 kB / 0.6853 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1799, allocations: 7.938 kB / 0.6853 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.18, allocations: 27.3 kB / 0.6853 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1801, allocations: 47.91 kB / 0.6854 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1801, allocations: 0 / 0.6854 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1801, allocations: 0 / 0.6854 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1801, allocations: 0 / 0.6854 GB, free: 14.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003207/0.1804, allocations: 337.9 kB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1805, allocations: 12.03 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1805, allocations: 7.891 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1807, allocations: 167 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1807, allocations: 4.5 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1807, allocations: 0 / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.1808, allocations: 30.45 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1808, allocations: 0.6562 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1809, allocations: 4 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1809, allocations: 2.031 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.1809, allocations: 11.89 kB / 0.6859 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1811, allocations: 157.6 kB / 0.6861 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.1812, allocations: 25.09 kB / 0.6861 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.1812, allocations: 8.922 kB / 0.6861 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000661/0.1819, allocations: 0.5803 MB / 0.6867 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1819, allocations: 34.56 kB / 0.6867 GB, free: 12.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1819, allocations: 0.875 kB / 0.6867 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005266/0.1824, allocations: 243.5 kB / 0.6869 GB, free: 12.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1825, allocations: 60.28 kB / 0.687 GB, free: 12.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.1826, allocations: 97.81 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1826, allocations: 26.23 kB / 0.6871 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.1827, allocations: 92.34 kB / 0.6872 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1827, allocations: 11.81 kB / 0.6872 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.1827, allocations: 0 / 0.6872 GB, free: 12.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1828, allocations: 310.8 kB / 0.6875 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.1829, allocations: 8 kB / 0.6875 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.1829, allocations: 17.7 kB / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.1829, allocations: 12 kB / 0.6875 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1829, allocations: 4 kB / 0.6875 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.1831, allocations: 49.64 kB / 0.6876 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1831, allocations: 7.984 kB / 0.6876 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1831, allocations: 0 / 0.6876 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1831, allocations: 336 / 0.6876 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.1832, allocations: 15.94 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1832, allocations: 0 / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1832, allocations: 0 / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1832, allocations: 7.953 kB / 0.6876 GB, free: 11.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/0.1833, allocations: 114.6 kB / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.1833, allocations: 7.984 kB / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.1835, allocations: 61.05 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1835, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1835, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1835, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1837, allocations: 157.6 kB / 0.6879 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1837, allocations: 3.938 kB / 0.6879 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.1837, allocations: 8 kB / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1837, allocations: 4 kB / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1838, allocations: 0 / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1838, allocations: 0 / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1838, allocations: 0 / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.1839, allocations: 88.91 kB / 0.688 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.184, allocations: 81.14 kB / 0.6881 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.184, allocations: 0 / 0.6881 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.184, allocations: 0 / 0.6881 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.1841, allocations: 8.062 kB / 0.6881 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1841, allocations: 0 / 0.6881 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.1841, allocations: 83.27 kB / 0.6882 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1841, allocations: 4 kB / 0.6882 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1845, allocations: 24 kB / 0.6882 GB, free: 11.14 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 (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.0002248/0.1847, allocations: 127.2 kB / 0.6884 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.845e-05/0.1848, allocations: 16 kB / 0.6884 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1848, allocations: 3.938 kB / 0.6884 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.1849, allocations: 12.11 kB / 0.6884 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1851, allocations: 7.953 kB / 0.6884 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.1854, allocations: 116.9 kB / 0.6885 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1856, allocations: 0.6731 MB / 0.6892 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.1857, allocations: 7.984 kB / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.1857, allocations: 7.438 kB / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1857, allocations: 0 / 0.6892 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Templates: time 0.004313/0.19, allocations: 1.203 MB / 0.6904 GB, free: 8.934 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)