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.001324/0.001324, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001378/0.001378, allocations: 198 kB / 16.26 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00254/0.00254, allocations: 278.3 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.138/1.138, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 99.95 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.172, allocations: 89.14 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001782/0.1738, allocations: 0.5937 MB / 0.6936 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.1744, allocations: 328.8 kB / 0.6939 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.1745, allocations: 4.562 kB / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1745, allocations: 0 / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.33e-05/0.1745, allocations: 1.719 kB / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.1749, allocations: 88.48 kB / 0.694 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.175, allocations: 11.94 kB / 0.694 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.175, allocations: 4 kB / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.175, allocations: 0 / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.1751, allocations: 11.98 kB / 0.694 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1751, allocations: 0 / 0.694 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1754, allocations: 191.8 kB / 0.6942 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1754, allocations: 3.938 kB / 0.6942 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1754, allocations: 8 kB / 0.6942 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1756, allocations: 83.78 kB / 0.6943 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1756, allocations: 0 / 0.6943 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1756, allocations: 4 kB / 0.6943 GB, free: 3.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1756, allocations: 0 / 0.6943 GB, free: 3.398 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.0003742/0.176, allocations: 335.8 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1761, allocations: 12.03 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1761, allocations: 8.781 kB / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1762, allocations: 160.4 kB / 0.6948 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1763, allocations: 4.375 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1763, allocations: 4.375 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.1764, allocations: 42.25 kB / 0.6948 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1764, allocations: 192 / 0.6948 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1764, allocations: 3.938 kB / 0.6948 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1764, allocations: 3.984 kB / 0.6948 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.1765, allocations: 4 kB / 0.6948 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1767, allocations: 153.7 kB / 0.695 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.1767, allocations: 22.55 kB / 0.695 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.1767, allocations: 8.922 kB / 0.695 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.1774, allocations: 0.5778 MB / 0.6956 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.1775, allocations: 34.56 kB / 0.6956 GB, free: 1.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1775, allocations: 0 / 0.6956 GB, free: 1.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000508/0.178, allocations: 262.2 kB / 0.6958 GB, free: 1.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1781, allocations: 55.39 kB / 0.6959 GB, free: 1.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.1781, allocations: 93.86 kB / 0.696 GB, free: 1.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1782, allocations: 25.7 kB / 0.696 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.1782, allocations: 92.12 kB / 0.6961 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1782, allocations: 3.906 kB / 0.6961 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1783, allocations: 21.92 kB / 0.6961 GB, free: 1.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1784, allocations: 318.8 kB / 0.6964 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.1785, allocations: 4 kB / 0.6964 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.1785, allocations: 25.64 kB / 0.6964 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.1786, allocations: 25.72 kB / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1786, allocations: 0 / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.058e-05/0.1787, allocations: 61.53 kB / 0.6965 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1787, allocations: 7.938 kB / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1787, allocations: 0 / 0.6965 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1787, allocations: 4 kB / 0.6965 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.1788, allocations: 4 kB / 0.6965 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1788, allocations: 0 / 0.6965 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.1788, allocations: 4 kB / 0.6965 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1788, allocations: 0 / 0.6965 GB, free: 0.6406 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.773e-05/0.1789, allocations: 113.8 kB / 0.6967 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.1789, allocations: 12 kB / 0.6967 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.179, allocations: 57.11 kB / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.179, allocations: 0 / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1791, allocations: 0 / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1791, allocations: 0 / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1792, allocations: 157.7 kB / 0.6969 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1792, allocations: 0 / 0.6969 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1793, allocations: 4 kB / 0.6969 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1793, allocations: 3.938 kB / 0.6969 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.1793, allocations: 0 / 0.6969 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1793, allocations: 4 kB / 0.6969 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1793, allocations: 0 / 0.6969 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1794, allocations: 85.42 kB / 0.697 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1795, allocations: 77.11 kB / 0.697 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1795, allocations: 7.984 kB / 0.697 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.1795, allocations: 7.953 kB / 0.6971 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.1796, allocations: 8 kB / 0.6971 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1796, allocations: 3.984 kB / 0.6971 GB, free: 8 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.1796, allocations: 83.34 kB / 0.6971 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1796, allocations: 0 / 0.6971 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002158/0.1799, allocations: 20 kB / 0.6972 GB, free: 15.91 MB / 0.4981 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.0002108/0.1801, allocations: 128.8 kB / 0.6973 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.1802, allocations: 15.98 kB / 0.6973 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1802, allocations: 3.938 kB / 0.6973 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.1802, allocations: 12 kB / 0.6973 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1804, allocations: 5.062 kB / 0.6973 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.1806, allocations: 121.5 kB / 0.6974 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.181, allocations: 0.6806 MB / 0.6981 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.181, allocations: 7.984 kB / 0.6981 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.1811, allocations: 7.438 kB / 0.6981 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1811, allocations: 0 / 0.6981 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.00374/0.1848, allocations: 1.211 MB / 0.6993 GB, free: 13.69 MB / 0.4981 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)