Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2053/0.2073, allocations: 80.84 MB / 0.5899 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00179/0.2091, allocations: 0.6112 MB / 0.5905 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000585/0.2097, allocations: 327.8 kB / 0.5908 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.2097, allocations: 0 / 0.5908 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.2098, allocations: 0 / 0.5908 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.2098, allocations: 4 kB / 0.5908 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.2103, allocations: 87.78 kB / 0.5909 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.2103, allocations: 15.98 kB / 0.5909 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.2104, allocations: 0 / 0.5909 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.2104, allocations: 7.938 kB / 0.5909 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.2105, allocations: 0 / 0.5909 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2105, allocations: 3.938 kB / 0.5909 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.2108, allocations: 195.7 kB / 0.5911 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2108, allocations: 0 / 0.5911 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.2108, allocations: 7.938 kB / 0.5911 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.211, allocations: 84.14 kB / 0.5912 GB, free: 5.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.211, allocations: 0 / 0.5912 GB, free: 5.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.211, allocations: 0 / 0.5912 GB, free: 5.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.211, allocations: 0 / 0.5912 GB, free: 5.652 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.0003614/0.2114, allocations: 343.4 kB / 0.5915 GB, free: 5.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2114, allocations: 8.031 kB / 0.5915 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2115, allocations: 4.938 kB / 0.5915 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2116, allocations: 168.4 kB / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2116, allocations: 384 / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2116, allocations: 384 / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2117, allocations: 37.83 kB / 0.5917 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2118, allocations: 0 / 0.5917 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2118, allocations: 3.984 kB / 0.5917 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2118, allocations: 4 kB / 0.5917 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.2118, allocations: 3.938 kB / 0.5917 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.212, allocations: 153.7 kB / 0.5919 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.095e-05/0.212, allocations: 22.61 kB / 0.5919 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.212, allocations: 12.92 kB / 0.5919 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.2126, allocations: 0.5778 MB / 0.5925 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2127, allocations: 34.5 kB / 0.5925 GB, free: 4.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2127, allocations: 4 kB / 0.5925 GB, free: 4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000479/0.2132, allocations: 246.3 kB / 0.5927 GB, free: 3.707 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2132, allocations: 55.41 kB / 0.5928 GB, free: 3.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.2133, allocations: 97.84 kB / 0.5929 GB, free: 3.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2133, allocations: 29.7 kB / 0.5929 GB, free: 3.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.2133, allocations: 84.08 kB / 0.593 GB, free: 3.414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.2134, allocations: 19.95 kB / 0.593 GB, free: 3.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.2134, allocations: 17.72 kB / 0.593 GB, free: 3.371 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2135, allocations: 322.8 kB / 0.5933 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.2135, allocations: 4 kB / 0.5933 GB, free: 3.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.2136, allocations: 17.72 kB / 0.5934 GB, free: 3.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.2136, allocations: 25.72 kB / 0.5934 GB, free: 2.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2136, allocations: 4 kB / 0.5934 GB, free: 2.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.2137, allocations: 61.83 kB / 0.5934 GB, free: 2.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2137, allocations: 4 kB / 0.5934 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2138, allocations: 4 kB / 0.5935 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2138, allocations: 0 / 0.5935 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.2138, allocations: 7.984 kB / 0.5935 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2138, allocations: 4 kB / 0.5935 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.2139, allocations: 0 / 0.5935 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.2139, allocations: 0 / 0.5935 GB, free: 2.898 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.331e-05/0.214, allocations: 118.8 kB / 0.5936 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.214, allocations: 11.86 kB / 0.5936 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2141, allocations: 49.19 kB / 0.5936 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2141, allocations: 0 / 0.5936 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2141, allocations: 4 kB / 0.5936 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2141, allocations: 3.984 kB / 0.5936 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2142, allocations: 157.7 kB / 0.5938 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2142, allocations: 3.938 kB / 0.5938 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.2143, allocations: 4 kB / 0.5938 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2143, allocations: 4 kB / 0.5938 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2143, allocations: 0 / 0.5938 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2143, allocations: 4 kB / 0.5938 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2143, allocations: 0 / 0.5938 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2145, allocations: 80.97 kB / 0.5939 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2145, allocations: 85.03 kB / 0.594 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2145, allocations: 0 / 0.594 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.2146, allocations: 4.031 kB / 0.594 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2146, allocations: 4.062 kB / 0.594 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2146, allocations: 0 / 0.594 GB, free: 2.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.2147, allocations: 83.28 kB / 0.5941 GB, free: 2.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2147, allocations: 0 / 0.5941 GB, free: 2.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.2149, allocations: 31.98 kB / 0.5941 GB, free: 2.156 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.0001918/0.2151, allocations: 119 kB / 0.5942 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.2152, allocations: 23.92 kB / 0.5942 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2152, allocations: 4.125 kB / 0.5942 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.2152, allocations: 8 kB / 0.5942 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.2154, allocations: 11.86 kB / 0.5942 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.2156, allocations: 117.7 kB / 0.5944 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.2159, allocations: 0.6806 MB / 0.595 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.2159, allocations: 3.984 kB / 0.595 GB, free: 1.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.2159, allocations: 11.44 kB / 0.595 GB, free: 1.125 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2159, allocations: 4 kB / 0.595 GB, free: 1.121 MB / 446.1 MB Notification: Performance of Templates: time 0.003506/0.2194, allocations: 1.211 MB / 0.5962 GB, free: 15.94 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)