Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [/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.1918/0.1929, allocations: 82.22 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008019/0.1938, allocations: 298.8 kB / 0.5937 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1952, allocations: 1.027 MB / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1952, allocations: 0 / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1953, allocations: 0 / 0.5947 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.1953, allocations: 4 kB / 0.5947 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1956, allocations: 51.8 kB / 0.5947 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.1957, allocations: 8 kB / 0.5947 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.1958, allocations: 7.984 kB / 0.5947 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.1958, allocations: 4 kB / 0.5947 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.1959, allocations: 15.92 kB / 0.5948 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1959, allocations: 0 / 0.5948 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1961, allocations: 79.91 kB / 0.5948 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.1961, allocations: 11.97 kB / 0.5948 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.1961, allocations: 33.7 kB / 0.5949 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1962, allocations: 27.97 kB / 0.5949 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1963, allocations: 0 / 0.5949 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1963, allocations: 0 / 0.5949 GB, free: 4.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1963, allocations: 3.938 kB / 0.5949 GB, free: 4.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004905/0.1968, allocations: 347.5 kB / 0.5952 GB, free: 4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1968, allocations: 8.031 kB / 0.5952 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1969, allocations: 4 kB / 0.5952 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.197, allocations: 163.1 kB / 0.5954 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.197, allocations: 4 kB / 0.5954 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1971, allocations: 4 kB / 0.5954 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1972, allocations: 45.64 kB / 0.5955 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1972, allocations: 0 / 0.5955 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1972, allocations: 3.938 kB / 0.5955 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1972, allocations: 0 / 0.5955 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.1973, allocations: 15.98 kB / 0.5955 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.1975, allocations: 165.7 kB / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1976, allocations: 46.56 kB / 0.5957 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.1981, allocations: 0.5544 MB / 0.5962 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1981, allocations: 30.56 kB / 0.5962 GB, free: 2.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1981, allocations: 0 / 0.5962 GB, free: 2.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001688/0.1998, allocations: 463.4 kB / 0.5967 GB, free: 2.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1999, allocations: 55.34 kB / 0.5967 GB, free: 2.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.2, allocations: 97.86 kB / 0.5968 GB, free: 2.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.2, allocations: 29.7 kB / 0.5969 GB, free: 2.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.2, allocations: 80.14 kB / 0.5969 GB, free: 1.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.2001, allocations: 27.61 kB / 0.597 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.2001, allocations: 0 / 0.597 GB, free: 1.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2002, allocations: 314.8 kB / 0.5973 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.2003, allocations: 19.98 kB / 0.5973 GB, free: 1.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.2003, allocations: 16 kB / 0.5973 GB, free: 1.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.2003, allocations: 20 kB / 0.5973 GB, free: 1.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2004, allocations: 4.125 kB / 0.5973 GB, free: 1.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001216/0.2005, allocations: 89.52 kB / 0.5974 GB, free: 1.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2005, allocations: 7.953 kB / 0.5974 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2005, allocations: 4 kB / 0.5974 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2005, allocations: 0 / 0.5974 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2007, allocations: 16.28 kB / 0.5974 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.2007, allocations: 0 / 0.5974 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.2007, allocations: 0 / 0.5974 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2007, allocations: 7.938 kB / 0.5974 GB, free: 1.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.2008, allocations: 121.8 kB / 0.5976 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.2008, allocations: 7.984 kB / 0.5976 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.201, allocations: 105.6 kB / 0.5977 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.201, allocations: 0 / 0.5977 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2011, allocations: 0 / 0.5977 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2011, allocations: 4 kB / 0.5977 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2013, allocations: 165.7 kB / 0.5978 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2013, allocations: 4 kB / 0.5978 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.2014, allocations: 23.86 kB / 0.5979 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2014, allocations: 0 / 0.5979 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2014, allocations: 4 kB / 0.5979 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2014, allocations: 3.953 kB / 0.5979 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2014, allocations: 0 / 0.5979 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2016, allocations: 141 kB / 0.598 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.2017, allocations: 77.11 kB / 0.5981 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2017, allocations: 0 / 0.5981 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.2018, allocations: 4 kB / 0.5981 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.2018, allocations: 7.938 kB / 0.5981 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2018, allocations: 8 kB / 0.5981 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.2018, allocations: 75.28 kB / 0.5982 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.2018, allocations: 0 / 0.5982 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.202, allocations: 27.94 kB / 0.5982 GB, free: 0.5273 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.2022, allocations: 131.3 kB / 0.5983 GB, free: 400 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2024, allocations: 51.97 kB / 0.5984 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2025, allocations: 0 / 0.5984 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.2025, allocations: 31.92 kB / 0.5984 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.2026, allocations: 4 kB / 0.5984 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.203, allocations: 148.7 kB / 0.5985 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2032, allocations: 0.6848 MB / 0.5992 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.2033, allocations: 12.31 kB / 0.5992 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.2033, allocations: 19.36 kB / 0.5992 GB, free: 15.39 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2033, allocations: 0 / 0.5992 GB, free: 15.39 MB / 462.1 MB Notification: Performance of Templates: time 0.002767/0.2061, allocations: 0.7843 MB / 0.6 GB, free: 14.64 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: