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: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.007268/0.007268, allocations: 100.9 kB / 15.73 MB, free: 6 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.001866/0.001866, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002689/0.002689, allocations: 286.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 99.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1831, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001823/0.185, allocations: 0.5422 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.1858, allocations: 319 kB / 0.7667 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1858, allocations: 0 / 0.7667 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.1858, allocations: 3.938 kB / 0.7667 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.1859, allocations: 0 / 0.7667 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.1863, allocations: 99.7 kB / 0.7668 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.1864, allocations: 11.98 kB / 0.7668 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.1864, allocations: 7.984 kB / 0.7668 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.1865, allocations: 3.938 kB / 0.7668 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.581e-05/0.1865, allocations: 8 kB / 0.7669 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1865, allocations: 0 / 0.7669 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1869, allocations: 183.8 kB / 0.767 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.1869, allocations: 11.97 kB / 0.767 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1869, allocations: 7.938 kB / 0.767 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1871, allocations: 83.95 kB / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1871, allocations: 0 / 0.7671 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1872, allocations: 4 kB / 0.7671 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.1872, allocations: 0 / 0.7671 GB, free: 7.668 MB / 0.5606 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.0004268/0.1876, allocations: 335.3 kB / 0.7674 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1877, allocations: 12.03 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1877, allocations: 30.75 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.1877, allocations: 4.938 kB / 0.7675 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1879, allocations: 168.3 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1879, allocations: 4.375 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1879, allocations: 384 / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.188, allocations: 34.27 kB / 0.7677 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.188, allocations: 3.938 kB / 0.7677 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.188, allocations: 0 / 0.7677 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1881, allocations: 0 / 0.7677 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.1881, allocations: 7.984 kB / 0.7677 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1883, allocations: 161.6 kB / 0.7679 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.1883, allocations: 26.53 kB / 0.7679 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.1884, allocations: 8.922 kB / 0.7679 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.1891, allocations: 0.5856 MB / 0.7685 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1891, allocations: 34.56 kB / 0.7685 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1891, allocations: 0 / 0.7685 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000534/0.1897, allocations: 254.3 kB / 0.7687 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1897, allocations: 51.41 kB / 0.7688 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1899, allocations: 98.06 kB / 0.7689 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1899, allocations: 33.7 kB / 0.7689 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.19, allocations: 84.14 kB / 0.769 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.19, allocations: 11.84 kB / 0.769 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.19, allocations: 17.72 kB / 0.769 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1902, allocations: 314.8 kB / 0.7693 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.1903, allocations: 11.98 kB / 0.7693 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.1903, allocations: 13.72 kB / 0.7693 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.1904, allocations: 33.66 kB / 0.7694 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1904, allocations: 0 / 0.7694 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.905e-05/0.1905, allocations: 53.62 kB / 0.7694 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1905, allocations: 7.938 kB / 0.7694 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1905, allocations: 0 / 0.7694 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1905, allocations: 4 kB / 0.7694 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.1906, allocations: 4 kB / 0.7694 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1906, allocations: 4.062 kB / 0.7695 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.1906, allocations: 11.98 kB / 0.7695 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1906, allocations: 0 / 0.7695 GB, free: 4.859 MB / 0.5606 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 8.729e-05/0.1907, allocations: 110.5 kB / 0.7696 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1907, allocations: 7.891 kB / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1909, allocations: 53.12 kB / 0.7696 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1909, allocations: 0 / 0.7696 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1909, allocations: 0 / 0.7696 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1909, allocations: 4 kB / 0.7696 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.191, allocations: 161.7 kB / 0.7698 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1911, allocations: 0 / 0.7698 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.1911, allocations: 11.98 kB / 0.7698 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1911, allocations: 3.938 kB / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1911, allocations: 0 / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1911, allocations: 0 / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1911, allocations: 0 / 0.7698 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1913, allocations: 77.12 kB / 0.7699 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.1914, allocations: 85.11 kB / 0.77 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1914, allocations: 11.92 kB / 0.77 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.1914, allocations: 7.969 kB / 0.77 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1914, allocations: 432 / 0.77 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1915, allocations: 0 / 0.77 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.1915, allocations: 83.27 kB / 0.7701 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.154e-06/0.1915, allocations: 0 / 0.7701 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002943/0.1918, allocations: 35.86 kB / 0.7701 GB, free: 4.117 MB / 0.5606 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.0005532/0.1924, allocations: 0.6436 MB / 0.7707 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.535e-05/0.1925, allocations: 15.94 kB / 0.7707 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1925, allocations: 0 / 0.7707 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.1925, allocations: 11.98 kB / 0.7707 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1927, allocations: 6.062 kB / 0.7707 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1938, allocations: 1.143 MB / 0.7719 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1941, allocations: 0.6768 MB / 0.7725 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.1941, allocations: 4 kB / 0.7725 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.1941, allocations: 11.44 kB / 0.7725 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1941, allocations: 0 / 0.7725 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3271/0.5213, allocations: 2.106 MB / 0.7746 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.265, allocations: 10.94 kB / 0.7746 GB, free: 14.48 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)