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.005598/0.005598, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001176/0.001176, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 274.6 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 0.9827/0.9827, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 95.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1871, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002133/0.1893, allocations: 0.5361 MB / 0.7669 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.1902, allocations: 315 kB / 0.7672 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1902, allocations: 4 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.1902, allocations: 0 / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.1903, allocations: 3.938 kB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1908, allocations: 91.75 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.1909, allocations: 15.94 kB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1909, allocations: 4 kB / 0.7673 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.191, allocations: 11.92 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.191, allocations: 4 kB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.191, allocations: 0 / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.1915, allocations: 191.8 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1915, allocations: 0 / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1916, allocations: 3.938 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1918, allocations: 87.78 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1918, allocations: 0 / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1918, allocations: 0 / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.1918, allocations: 4 kB / 0.7676 GB, free: 7.16 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.0004127/0.1923, allocations: 343.4 kB / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1923, allocations: 8.031 kB / 0.7679 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1924, allocations: 4.938 kB / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1925, allocations: 160.4 kB / 0.7681 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1925, allocations: 384 / 0.7681 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1926, allocations: 4.375 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1927, allocations: 38.19 kB / 0.7681 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1927, allocations: 192 / 0.7681 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1927, allocations: 7.875 kB / 0.7681 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1927, allocations: 4 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.1928, allocations: 8 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.193, allocations: 149.7 kB / 0.7683 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.1931, allocations: 22.58 kB / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.1931, allocations: 4.859 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/0.1939, allocations: 0.5857 MB / 0.7689 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.194, allocations: 42.48 kB / 0.7689 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.194, allocations: 0 / 0.7689 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005808/0.1946, allocations: 258.5 kB / 0.7692 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1947, allocations: 55.41 kB / 0.7692 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.1948, allocations: 97.86 kB / 0.7693 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1948, allocations: 25.7 kB / 0.7694 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1948, allocations: 80.14 kB / 0.7694 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1949, allocations: 27.72 kB / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.1949, allocations: 13.72 kB / 0.7695 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1951, allocations: 318.8 kB / 0.7698 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.1952, allocations: 4 kB / 0.7698 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.287e-05/0.1952, allocations: 29.7 kB / 0.7698 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.1953, allocations: 25.66 kB / 0.7698 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1953, allocations: 4 kB / 0.7698 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.1954, allocations: 49.69 kB / 0.7699 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1955, allocations: 7.938 kB / 0.7699 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1955, allocations: 0 / 0.7699 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1955, allocations: 4.062 kB / 0.7699 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-05/0.1956, allocations: 8 kB / 0.7699 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1956, allocations: 3.938 kB / 0.7699 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.1956, allocations: 0 / 0.7699 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1956, allocations: 4 kB / 0.7699 GB, free: 4.387 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 9.196e-05/0.1957, allocations: 110.5 kB / 0.77 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1958, allocations: 7.938 kB / 0.77 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1959, allocations: 53.17 kB / 0.7701 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1959, allocations: 4 kB / 0.7701 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.196, allocations: 0 / 0.7701 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.196, allocations: 0 / 0.7701 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1961, allocations: 153.7 kB / 0.7702 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1961, allocations: 0 / 0.7702 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.1962, allocations: 11.94 kB / 0.7702 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1962, allocations: 3.938 kB / 0.7702 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1962, allocations: 0 / 0.7702 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1962, allocations: 0 / 0.7702 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1962, allocations: 3.984 kB / 0.7702 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1964, allocations: 85.09 kB / 0.7703 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.1964, allocations: 81.02 kB / 0.7704 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1964, allocations: 3.938 kB / 0.7704 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.1965, allocations: 0 / 0.7704 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1965, allocations: 7.984 kB / 0.7704 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1965, allocations: 0 / 0.7704 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.1965, allocations: 83.28 kB / 0.7705 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1966, allocations: 0 / 0.7705 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003924/0.197, allocations: 28.06 kB / 0.7705 GB, free: 3.66 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.0002571/0.1972, allocations: 127.7 kB / 0.7706 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1974, allocations: 23.92 kB / 0.7707 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1974, allocations: 0 / 0.7707 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.1974, allocations: 8 kB / 0.7707 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1976, allocations: 0 / 0.7707 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.1979, allocations: 113.5 kB / 0.7708 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1983, allocations: 0.6808 MB / 0.7714 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.1983, allocations: 8.078 kB / 0.7715 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.1984, allocations: 7.438 kB / 0.7715 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1984, allocations: 0 / 0.7715 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.004735/0.2031, allocations: 1.226 MB / 0.7727 GB, free: 1.441 MB / 0.5606 GB 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)