Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.007811/0.007811, allocations: 100.9 kB / 15.73 MB, free: 5.992 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.001601/0.001602, allocations: 195.9 kB / 16.67 MB, free: 5.93 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.572/0.572, allocations: 95.48 MB / 365.4 MB, free: 9.691 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 79.89 kB / 0.5036 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.165, allocations: 69.08 MB / 0.5711 GB, free: 8.457 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002238/0.1673, allocations: 0.5347 MB / 0.5716 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.1681, allocations: 320.1 kB / 0.5719 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.1682, allocations: 0 / 0.5719 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1682, allocations: 0 / 0.5719 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/0.1683, allocations: 7.938 kB / 0.5719 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.1688, allocations: 103.7 kB / 0.572 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.1689, allocations: 7.938 kB / 0.572 GB, free: 7.488 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.169, allocations: 11.97 kB / 0.572 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.169, allocations: 4 kB / 0.572 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.1691, allocations: 7.938 kB / 0.572 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1691, allocations: 4 kB / 0.572 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.1695, allocations: 183.8 kB / 0.5722 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1695, allocations: 3.984 kB / 0.5722 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1696, allocations: 7.984 kB / 0.5722 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1698, allocations: 83.73 kB / 0.5723 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1698, allocations: 4 kB / 0.5723 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1698, allocations: 3.938 kB / 0.5723 GB, free: 7.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1698, allocations: 0 / 0.5723 GB, free: 7.18 MB / 446.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.0004282/0.1702, allocations: 331.6 kB / 0.5726 GB, free: 6.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1703, allocations: 15.98 kB / 0.5727 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.1703, allocations: 4.938 kB / 0.5727 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1705, allocations: 168.3 kB / 0.5728 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1705, allocations: 4.375 kB / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1705, allocations: 4.375 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1706, allocations: 30.27 kB / 0.5729 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1707, allocations: 4.125 kB / 0.5729 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1707, allocations: 3.938 kB / 0.5729 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1707, allocations: 0 / 0.5729 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.1707, allocations: 8 kB / 0.5729 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.171, allocations: 157.7 kB / 0.573 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.171, allocations: 22.59 kB / 0.573 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.1711, allocations: 12.92 kB / 0.5731 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/0.1718, allocations: 0.5778 MB / 0.5736 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1718, allocations: 30.56 kB / 0.5736 GB, free: 5.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.1719, allocations: 4 kB / 0.5737 GB, free: 5.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006012/0.1725, allocations: 262.2 kB / 0.5739 GB, free: 5.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1725, allocations: 51.41 kB / 0.574 GB, free: 5.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.1726, allocations: 102.1 kB / 0.574 GB, free: 5.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1726, allocations: 25.7 kB / 0.5741 GB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.1727, allocations: 84.14 kB / 0.5742 GB, free: 4.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1727, allocations: 11.83 kB / 0.5742 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1728, allocations: 17.72 kB / 0.5742 GB, free: 4.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1729, allocations: 310.8 kB / 0.5745 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.1729, allocations: 11.98 kB / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.173, allocations: 13.72 kB / 0.5745 GB, free: 4.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.173, allocations: 29.72 kB / 0.5745 GB, free: 4.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.173, allocations: 0 / 0.5745 GB, free: 4.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.627e-05/0.1731, allocations: 53.62 kB / 0.5746 GB, free: 4.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1732, allocations: 7.938 kB / 0.5746 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1732, allocations: 0 / 0.5746 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1732, allocations: 4 kB / 0.5746 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.1733, allocations: 8 kB / 0.5746 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1733, allocations: 4.062 kB / 0.5746 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1733, allocations: 3.938 kB / 0.5746 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1733, allocations: 4 kB / 0.5746 GB, free: 4.422 MB / 446.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 7.838e-05/0.1734, allocations: 109.8 kB / 0.5747 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.1734, allocations: 11.84 kB / 0.5747 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1736, allocations: 53.19 kB / 0.5748 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1736, allocations: 3.938 kB / 0.5748 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1736, allocations: 0 / 0.5748 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1736, allocations: 4 kB / 0.5748 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1737, allocations: 153.7 kB / 0.5749 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1738, allocations: 0 / 0.5749 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1738, allocations: 11.92 kB / 0.5749 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.1738, allocations: 3.938 kB / 0.5749 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1738, allocations: 4 kB / 0.575 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1738, allocations: 3.938 kB / 0.575 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1739, allocations: 0 / 0.575 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.174, allocations: 77.12 kB / 0.575 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.1741, allocations: 81.11 kB / 0.5751 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1741, allocations: 3.938 kB / 0.5751 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.1741, allocations: 0 / 0.5751 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1742, allocations: 8.016 kB / 0.5751 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1742, allocations: 4 kB / 0.5751 GB, free: 3.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.1742, allocations: 79.7 kB / 0.5752 GB, free: 3.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 0.5752 GB, free: 3.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1745, allocations: 28 kB / 0.5752 GB, free: 3.684 MB / 446.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.0002502/0.1748, allocations: 131.3 kB / 0.5754 GB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1749, allocations: 19.92 kB / 0.5754 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1749, allocations: 4 kB / 0.5754 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.1749, allocations: 8.141 kB / 0.5754 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.1751, allocations: 0 / 0.5754 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1754, allocations: 109.9 kB / 0.5755 GB, free: 3.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1757, allocations: 0.6806 MB / 0.5762 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.17e-05/0.1757, allocations: 16.05 kB / 0.5762 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.1757, allocations: 7.438 kB / 0.5762 GB, free: 2.648 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1758, allocations: 0 / 0.5762 GB, free: 2.648 MB / 446.1 MB Notification: Performance of Templates: time 0.003889/0.1796, allocations: 1.211 MB / 0.5774 GB, free: 1.445 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)