Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008943, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00533/0.00533, allocations: 170.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005157, allocations: 16.67 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1871, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0005661/0.1877, allocations: 286 kB / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.1883, allocations: 347.9 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.139e-05/0.1883, allocations: 4 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.1883, allocations: 0 / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.1883, allocations: 0 / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1886, allocations: 59.84 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.1887, allocations: 8 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.1887, allocations: 4 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.1887, allocations: 7.922 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.1888, allocations: 11.92 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1888, allocations: 0 / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1891, allocations: 187.8 kB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.1891, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.1891, allocations: 29.64 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1893, allocations: 87.84 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1893, allocations: 4 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1893, allocations: 4 kB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.1893, allocations: 0 / 0.789 GB, free: 10.45 MB / 0.6075 GB 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.000265/0.1896, allocations: 331.7 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1896, allocations: 11.97 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1896, allocations: 34.75 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.1897, allocations: 0.9375 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.1898, allocations: 172.4 kB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1898, allocations: 384 / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1898, allocations: 4.375 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.392e-05/0.1899, allocations: 34.25 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1899, allocations: 7.875 kB / 0.7896 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1899, allocations: 4 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1899, allocations: 0 / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.1899, allocations: 7.938 kB / 0.7896 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1901, allocations: 149.7 kB / 0.7897 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.1901, allocations: 26.61 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.1901, allocations: 8.922 kB / 0.7898 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.1907, allocations: 0.5817 MB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1907, allocations: 38.55 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1907, allocations: 0 / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004068/0.1912, allocations: 254.2 kB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.1912, allocations: 55.34 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.1913, allocations: 97.86 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1913, allocations: 25.7 kB / 0.7908 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.1913, allocations: 84.36 kB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1913, allocations: 11.89 kB / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1914, allocations: 13.72 kB / 0.7909 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1915, allocations: 310.8 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.1915, allocations: 8 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.1915, allocations: 17.7 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.1916, allocations: 29.72 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1916, allocations: 0 / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.869e-05/0.1917, allocations: 57.55 kB / 0.7913 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1917, allocations: 11.92 kB / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1917, allocations: 0 / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1917, allocations: 0 / 0.7913 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.1918, allocations: 8 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1918, allocations: 0 / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.1918, allocations: 0 / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1918, allocations: 4 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB 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.471e-05/0.1919, allocations: 118.4 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.1919, allocations: 7.938 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.192, allocations: 57.17 kB / 0.7915 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.192, allocations: 0 / 0.7915 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.192, allocations: 384 / 0.7915 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.192, allocations: 3.938 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/0.1921, allocations: 153.7 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1921, allocations: 0 / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.1922, allocations: 12 kB / 0.7916 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1922, allocations: 7.922 kB / 0.7916 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1922, allocations: 4 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1922, allocations: 0 / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1922, allocations: 3.938 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1923, allocations: 81.14 kB / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1924, allocations: 84.95 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.1924, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.1924, allocations: 4.062 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.1925, allocations: 4 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1925, allocations: 0 / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.1925, allocations: 83.27 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1925, allocations: 0 / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002165/0.1927, allocations: 31.94 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB 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.0004035/0.1931, allocations: 0.6436 MB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.1932, allocations: 19.98 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1932, allocations: 0 / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.1932, allocations: 11.94 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1934, allocations: 0 / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.1942, allocations: 1.151 MB / 0.7937 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1944, allocations: 0.6809 MB / 0.7944 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.1945, allocations: 4 kB / 0.7944 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.1945, allocations: 11.44 kB / 0.7944 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.1945, allocations: 4 kB / 0.7944 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.2127, allocations: 1.897 MB / 0.7963 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.2129, allocations: 232.5 kB / 0.7965 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.112, allocations: 7.938 kB / 0.7965 GB, free: 2.258 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)