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.007235/0.007235, allocations: 105.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.001383/0.001383, allocations: 189 kB / 16.67 MB, free: 5.926 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.6618/0.6618, 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.002364/0.002365, allocations: 78.08 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1917, allocations: 69.09 MB / 0.5711 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001702/0.1935, allocations: 0.5308 MB / 0.5716 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.1942, allocations: 324.2 kB / 0.5719 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1942, allocations: 0 / 0.5719 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1942, allocations: 3.938 kB / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.1943, allocations: 0 / 0.5719 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.1947, allocations: 103.6 kB / 0.572 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.1948, allocations: 15.98 kB / 0.572 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.1948, allocations: 4 kB / 0.572 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1948, allocations: 0 / 0.572 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1949, allocations: 7.938 kB / 0.572 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1949, allocations: 0 / 0.572 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.1953, allocations: 187.7 kB / 0.5722 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.1953, allocations: 8 kB / 0.5722 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1953, allocations: 0 / 0.5722 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1955, allocations: 83.73 kB / 0.5723 GB, free: 7.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1955, allocations: 0 / 0.5723 GB, free: 7.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1955, allocations: 4 kB / 0.5723 GB, free: 7.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.1955, allocations: 0 / 0.5723 GB, free: 7.047 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.0004422/0.196, allocations: 335.6 kB / 0.5726 GB, free: 6.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.196, allocations: 15.92 kB / 0.5726 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.1961, allocations: 8.938 kB / 0.5727 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1963, allocations: 172.3 kB / 0.5728 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1963, allocations: 384 / 0.5728 GB, free: 6.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1963, allocations: 4.375 kB / 0.5728 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1965, allocations: 34.2 kB / 0.5729 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1965, allocations: 4.188 kB / 0.5729 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1965, allocations: 7.922 kB / 0.5729 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1965, allocations: 0 / 0.5729 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.1966, allocations: 7.984 kB / 0.5729 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.1968, allocations: 149.7 kB / 0.573 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.1968, allocations: 26.56 kB / 0.573 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.1968, allocations: 4.859 kB / 0.5731 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.1976, allocations: 0.5817 MB / 0.5736 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1976, allocations: 38.5 kB / 0.5737 GB, free: 5.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1976, allocations: 0 / 0.5737 GB, free: 5.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005573/0.1982, allocations: 258.3 kB / 0.5739 GB, free: 5.074 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1982, allocations: 51.41 kB / 0.574 GB, free: 5.012 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.1983, allocations: 101.8 kB / 0.574 GB, free: 4.902 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1983, allocations: 25.7 kB / 0.5741 GB, free: 4.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.1983, allocations: 80.14 kB / 0.5741 GB, free: 4.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1984, allocations: 15.84 kB / 0.5742 GB, free: 4.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1984, allocations: 13.72 kB / 0.5742 GB, free: 4.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1985, allocations: 323 kB / 0.5745 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.1985, allocations: 4 kB / 0.5745 GB, free: 4.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.1986, allocations: 13.72 kB / 0.5745 GB, free: 4.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.1986, allocations: 29.66 kB / 0.5745 GB, free: 4.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1986, allocations: 0 / 0.5745 GB, free: 4.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.356e-05/0.1987, allocations: 57.72 kB / 0.5746 GB, free: 4.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1987, allocations: 7.938 kB / 0.5746 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1987, allocations: 0 / 0.5746 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1987, allocations: 0 / 0.5746 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.1988, allocations: 11.94 kB / 0.5746 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1988, allocations: 3.984 kB / 0.5746 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.1988, allocations: 0 / 0.5746 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1988, allocations: 4 kB / 0.5746 GB, free: 4.281 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 6.779e-05/0.1989, allocations: 105.8 kB / 0.5747 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1989, allocations: 7.875 kB / 0.5747 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1991, allocations: 61.19 kB / 0.5748 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1991, allocations: 0 / 0.5748 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1991, allocations: 0 / 0.5748 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1991, allocations: 0 / 0.5748 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1992, allocations: 161.6 kB / 0.5749 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1992, allocations: 3.938 kB / 0.5749 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.1993, allocations: 11.92 kB / 0.5749 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1993, allocations: 7.938 kB / 0.575 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1993, allocations: 0 / 0.575 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1993, allocations: 0 / 0.575 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1993, allocations: 8 kB / 0.575 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1995, allocations: 73.5 kB / 0.575 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.1995, allocations: 85.17 kB / 0.5751 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1995, allocations: 7.922 kB / 0.5751 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.1996, allocations: 0 / 0.5751 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1996, allocations: 4 kB / 0.5751 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1996, allocations: 0 / 0.5751 GB, free: 3.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.1996, allocations: 79.34 kB / 0.5752 GB, free: 3.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1996, allocations: 4 kB / 0.5752 GB, free: 3.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1999, allocations: 31.98 kB / 0.5752 GB, free: 3.531 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.0002093/0.2001, allocations: 123.2 kB / 0.5754 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.352e-05/0.2002, allocations: 19.98 kB / 0.5754 GB, free: 3.379 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2002, allocations: 0 / 0.5754 GB, free: 3.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.2002, allocations: 4 kB / 0.5754 GB, free: 3.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.2004, allocations: 4.125 kB / 0.5754 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.2007, allocations: 113.7 kB / 0.5755 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.201, allocations: 0.6807 MB / 0.5762 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.201, allocations: 3.984 kB / 0.5762 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.2011, allocations: 11.44 kB / 0.5762 GB, free: 2.512 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2011, allocations: 0 / 0.5762 GB, free: 2.512 MB / 446.1 MB Notification: Performance of Templates: time 0.00396/0.205, allocations: 1.213 MB / 0.5774 GB, free: 1.309 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)