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.00843/0.00843, allocations: 102.8 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.001583/0.001584, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.663/1.663, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.6232/0.6232, allocations: 95.48 MB / 365.4 MB, free: 9.758 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.001757/0.001757, allocations: 82.06 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1689, allocations: 69.09 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002087/0.171, allocations: 0.5269 MB / 0.5716 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.1718, allocations: 324.2 kB / 0.5719 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.1719, allocations: 4 kB / 0.5719 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.1719, allocations: 3.938 kB / 0.5719 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.172, allocations: 0 / 0.5719 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1726, allocations: 103.6 kB / 0.572 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.1727, allocations: 11.98 kB / 0.572 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.1728, allocations: 0 / 0.572 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.1728, allocations: 4 kB / 0.572 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.1729, allocations: 11.92 kB / 0.572 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1729, allocations: 4 kB / 0.5721 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.1733, allocations: 187.8 kB / 0.5722 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.1733, allocations: 0 / 0.5722 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.1734, allocations: 7.938 kB / 0.5722 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1736, allocations: 87.73 kB / 0.5723 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1736, allocations: 0 / 0.5723 GB, free: 7.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1736, allocations: 0 / 0.5723 GB, free: 7.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1736, allocations: 0 / 0.5723 GB, free: 7.066 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.0004492/0.1741, allocations: 335.6 kB / 0.5726 GB, free: 6.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1741, allocations: 11.98 kB / 0.5727 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1742, allocations: 8.938 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1743, allocations: 172.3 kB / 0.5728 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1743, allocations: 4.312 kB / 0.5728 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1744, allocations: 384 / 0.5728 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1745, allocations: 30.27 kB / 0.5729 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1745, allocations: 192 / 0.5729 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1745, allocations: 7.938 kB / 0.5729 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1745, allocations: 3.984 kB / 0.5729 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.1745, allocations: 4 kB / 0.5729 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1748, allocations: 153.7 kB / 0.573 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.1749, allocations: 26.55 kB / 0.573 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.1749, allocations: 12.86 kB / 0.5731 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.1756, allocations: 0.5856 MB / 0.5736 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1756, allocations: 30.56 kB / 0.5737 GB, free: 5.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 4.439e-06/0.1756, allocations: 3.984 kB / 0.5737 GB, free: 5.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006201/0.1762, allocations: 250.2 kB / 0.5739 GB, free: 5.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1763, allocations: 59.62 kB / 0.574 GB, free: 5.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.1764, allocations: 101.8 kB / 0.5741 GB, free: 4.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1764, allocations: 25.7 kB / 0.5741 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1765, allocations: 80.14 kB / 0.5742 GB, free: 4.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1765, allocations: 11.84 kB / 0.5742 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1766, allocations: 13.72 kB / 0.5742 GB, free: 4.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1767, allocations: 322.8 kB / 0.5745 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.1767, allocations: 0 / 0.5745 GB, free: 4.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.1768, allocations: 21.72 kB / 0.5745 GB, free: 4.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.1768, allocations: 29.66 kB / 0.5745 GB, free: 4.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1768, allocations: 0 / 0.5745 GB, free: 4.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.1769, allocations: 53.62 kB / 0.5746 GB, free: 4.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.177, allocations: 12.88 kB / 0.5746 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.177, allocations: 0 / 0.5746 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.177, allocations: 4.062 kB / 0.5746 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1771, allocations: 11.98 kB / 0.5746 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1771, allocations: 0 / 0.5746 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.1771, allocations: 0 / 0.5746 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1771, allocations: 3.938 kB / 0.5746 GB, free: 4.301 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.876e-05/0.1772, allocations: 113.8 kB / 0.5747 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.1772, allocations: 7.844 kB / 0.5747 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.1774, allocations: 53.12 kB / 0.5748 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1774, allocations: 4 kB / 0.5748 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1774, allocations: 4 kB / 0.5748 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1774, allocations: 0 / 0.5748 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1775, allocations: 161.6 kB / 0.5749 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1776, allocations: 0 / 0.5749 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.1776, allocations: 4 kB / 0.575 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1776, allocations: 3.938 kB / 0.575 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1776, allocations: 4 kB / 0.575 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1776, allocations: 0 / 0.575 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1776, allocations: 4 kB / 0.575 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1778, allocations: 77.12 kB / 0.575 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.1779, allocations: 81.09 kB / 0.5751 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1779, allocations: 7.969 kB / 0.5751 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.1779, allocations: 0 / 0.5751 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.1779, allocations: 3.938 kB / 0.5751 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.178, allocations: 4 kB / 0.5751 GB, free: 3.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.178, allocations: 79.7 kB / 0.5752 GB, free: 3.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.178, allocations: 0 / 0.5752 GB, free: 3.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1783, allocations: 31.98 kB / 0.5752 GB, free: 3.559 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.0002465/0.1785, allocations: 127.3 kB / 0.5754 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1786, allocations: 16.12 kB / 0.5754 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1786, allocations: 4 kB / 0.5754 GB, free: 3.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.1787, allocations: 11.92 kB / 0.5754 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1789, allocations: 0 / 0.5754 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.1792, allocations: 113.8 kB / 0.5755 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1795, allocations: 0.6769 MB / 0.5762 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1796, allocations: 4 kB / 0.5762 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.1796, allocations: 19.42 kB / 0.5762 GB, free: 2.527 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1796, allocations: 0 / 0.5762 GB, free: 2.527 MB / 446.1 MB Notification: Performance of Templates: time 0.004592/0.1842, allocations: 1.207 MB / 0.5774 GB, free: 1.328 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)