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.001249/0.001249, allocations: 107.2 kB / 15.98 MB, free: 5.91 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.001329/0.00133, allocations: 189.7 kB / 16.91 MB, free: 5.758 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.277/1.277, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 292.3 kB / 291 MB, free: 14.67 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.2 MB / 0.4985 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 97.41 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1865, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00174/0.1883, allocations: 0.5907 MB / 0.6809 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.1889, allocations: 327.1 kB / 0.6812 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.1889, allocations: 0 / 0.6812 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.189, allocations: 0 / 0.6812 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.189, allocations: 0 / 0.6812 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1894, allocations: 91.77 kB / 0.6813 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.1894, allocations: 11.88 kB / 0.6813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1895, allocations: 8 kB / 0.6813 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1895, allocations: 7.984 kB / 0.6813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.1896, allocations: 7.984 kB / 0.6813 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1896, allocations: 0 / 0.6813 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1898, allocations: 187.8 kB / 0.6815 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.1898, allocations: 3.938 kB / 0.6815 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1899, allocations: 4 kB / 0.6815 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.19, allocations: 56.17 kB / 0.6815 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.19, allocations: 0 / 0.6815 GB, free: 7.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.19, allocations: 0 / 0.6815 GB, free: 7.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.19, allocations: 0 / 0.6815 GB, free: 7.297 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.0003228/0.1903, allocations: 339.5 kB / 0.6819 GB, free: 6.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1904, allocations: 11.97 kB / 0.6819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1904, allocations: 0.9375 kB / 0.6819 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1905, allocations: 168.3 kB / 0.682 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1905, allocations: 384 / 0.682 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1906, allocations: 384 / 0.682 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.1907, allocations: 38.25 kB / 0.6821 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1907, allocations: 192 / 0.6821 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1907, allocations: 7.875 kB / 0.6821 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1907, allocations: 8 kB / 0.6821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.1907, allocations: 0 / 0.6821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1909, allocations: 153.7 kB / 0.6822 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.1909, allocations: 18.61 kB / 0.6822 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.191, allocations: 12.91 kB / 0.6823 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.1915, allocations: 0.5817 MB / 0.6828 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1916, allocations: 34.56 kB / 0.6829 GB, free: 5.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1916, allocations: 0 / 0.6829 GB, free: 5.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004881/0.1921, allocations: 258.4 kB / 0.6831 GB, free: 5.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1921, allocations: 55.41 kB / 0.6832 GB, free: 5.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.1922, allocations: 93.86 kB / 0.6832 GB, free: 5.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1922, allocations: 29.7 kB / 0.6833 GB, free: 5.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1923, allocations: 88.12 kB / 0.6834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1923, allocations: 15.73 kB / 0.6834 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1923, allocations: 17.72 kB / 0.6834 GB, free: 5.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1925, allocations: 310.8 kB / 0.6837 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.1925, allocations: 8 kB / 0.6837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.1926, allocations: 25.7 kB / 0.6837 GB, free: 4.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.1926, allocations: 21.72 kB / 0.6837 GB, free: 4.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1926, allocations: 0 / 0.6837 GB, free: 4.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.887e-05/0.1927, allocations: 53.62 kB / 0.6838 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1927, allocations: 7.938 kB / 0.6838 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1927, allocations: 12 kB / 0.6838 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1927, allocations: 0 / 0.6838 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.1928, allocations: 4 kB / 0.6838 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1928, allocations: 0 / 0.6838 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.1928, allocations: 4 kB / 0.6838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1928, allocations: 3.938 kB / 0.6838 GB, free: 4.539 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 8.127e-05/0.1929, allocations: 113.8 kB / 0.6839 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.1929, allocations: 7.922 kB / 0.6839 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.1931, allocations: 61.08 kB / 0.684 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1931, allocations: 0 / 0.684 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1931, allocations: 0 / 0.684 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1931, allocations: 4 kB / 0.684 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1932, allocations: 157.7 kB / 0.6841 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1932, allocations: 0 / 0.6841 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.1933, allocations: 4 kB / 0.6842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1933, allocations: 3.938 kB / 0.6842 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1933, allocations: 3.984 kB / 0.6842 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1933, allocations: 3.938 kB / 0.6842 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1933, allocations: 4 kB / 0.6842 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1934, allocations: 77.12 kB / 0.6842 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.1935, allocations: 77.11 kB / 0.6843 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1935, allocations: 3.938 kB / 0.6843 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.1935, allocations: 4.031 kB / 0.6843 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.1935, allocations: 8.406 kB / 0.6843 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1936, allocations: 0 / 0.6843 GB, free: 3.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.1936, allocations: 83.27 kB / 0.6844 GB, free: 3.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1936, allocations: 4.062 kB / 0.6844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.1938, allocations: 28 kB / 0.6844 GB, free: 3.797 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.000193/0.194, allocations: 127.2 kB / 0.6846 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.1941, allocations: 19.92 kB / 0.6846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1941, allocations: 0 / 0.6846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.1941, allocations: 12 kB / 0.6846 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1943, allocations: 2.531 kB / 0.6846 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.1946, allocations: 151.3 kB / 0.6847 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1948, allocations: 0.6844 MB / 0.6854 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1948, allocations: 11.44 kB / 0.6854 GB, free: 2.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1948, allocations: 0 / 0.6854 GB, free: 2.727 MB / 494.1 MB Notification: Performance of Templates: time 0.00214/0.197, allocations: 0.8234 MB / 0.6862 GB, free: 1.906 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)