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.1966/0.1974, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008012/0.1982, allocations: 304.8 kB / 0.5944 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1999, allocations: 1.054 MB / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.2, allocations: 0 / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.2, allocations: 0 / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.096e-05/0.2, allocations: 0 / 0.5954 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.2004, allocations: 55.88 kB / 0.5955 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.2005, allocations: 19.92 kB / 0.5955 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.2005, allocations: 7.984 kB / 0.5955 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.2005, allocations: 7.938 kB / 0.5955 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.2006, allocations: 11.98 kB / 0.5955 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2006, allocations: 0 / 0.5955 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2008, allocations: 87.91 kB / 0.5956 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2009, allocations: 7.922 kB / 0.5956 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.2009, allocations: 33.7 kB / 0.5957 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2011, allocations: 59.86 kB / 0.5957 GB, free: 3.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2011, allocations: 4 kB / 0.5957 GB, free: 3.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2011, allocations: 0 / 0.5957 GB, free: 3.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2011, allocations: 0 / 0.5957 GB, free: 3.914 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.0004592/0.2016, allocations: 343.7 kB / 0.5961 GB, free: 3.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2016, allocations: 8.031 kB / 0.5961 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2016, allocations: 0.9375 kB / 0.5961 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2018, allocations: 172.4 kB / 0.5962 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2018, allocations: 384 / 0.5962 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.2018, allocations: 4.375 kB / 0.5962 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.202, allocations: 53.75 kB / 0.5963 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.202, allocations: 0 / 0.5963 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.202, allocations: 4 kB / 0.5963 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.202, allocations: 0 / 0.5963 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.2021, allocations: 15.98 kB / 0.5963 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.2022, allocations: 153.7 kB / 0.5964 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.2023, allocations: 38.64 kB / 0.5965 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.2024, allocations: 28.97 kB / 0.5965 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.2029, allocations: 0.5544 MB / 0.5971 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.203, allocations: 42.38 kB / 0.5971 GB, free: 2.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.203, allocations: 0 / 0.5971 GB, free: 2.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001876/0.2048, allocations: 459.2 kB / 0.5975 GB, free: 1.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2049, allocations: 51.41 kB / 0.5976 GB, free: 1.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.205, allocations: 93.95 kB / 0.5977 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.205, allocations: 37.67 kB / 0.5977 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.205, allocations: 88.03 kB / 0.5978 GB, free: 1.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.2051, allocations: 19.72 kB / 0.5978 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2051, allocations: 13.72 kB / 0.5978 GB, free: 1.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2052, allocations: 318.8 kB / 0.5981 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.2053, allocations: 12 kB / 0.5981 GB, free: 1.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.2053, allocations: 27.92 kB / 0.5982 GB, free: 1.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.2054, allocations: 48.84 kB / 0.5982 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2054, allocations: 4 kB / 0.5982 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.2056, allocations: 97.41 kB / 0.5983 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2056, allocations: 8 kB / 0.5983 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2056, allocations: 0 / 0.5983 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2056, allocations: 0 / 0.5983 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2057, allocations: 15.98 kB / 0.5983 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2058, allocations: 0 / 0.5983 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.2058, allocations: 0 / 0.5983 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.2058, allocations: 4 kB / 0.5983 GB, free: 0.8438 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.2059, allocations: 114.7 kB / 0.5984 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2059, allocations: 8 kB / 0.5985 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.2061, allocations: 105.8 kB / 0.5986 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2062, allocations: 0 / 0.5986 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2062, allocations: 0 / 0.5986 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2062, allocations: 4 kB / 0.5986 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2063, allocations: 177.6 kB / 0.5987 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2063, allocations: 0 / 0.5987 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.2064, allocations: 12 kB / 0.5987 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.2064, allocations: 3.984 kB / 0.5987 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2065, allocations: 0 / 0.5987 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2065, allocations: 4 kB / 0.5987 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2065, allocations: 3.984 kB / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2067, allocations: 149 kB / 0.5989 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2067, allocations: 77.11 kB / 0.599 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2068, allocations: 4.094 kB / 0.599 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.2068, allocations: 8 kB / 0.599 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.2069, allocations: 4 kB / 0.599 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2069, allocations: 3.984 kB / 0.599 GB, free: 76 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.2069, allocations: 75.28 kB / 0.5991 GB, free: 0 / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2069, allocations: 0 / 0.5991 GB, free: 0 / 446.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.2071, allocations: 28.05 kB / 0.5991 GB, free: 15.97 MB / 462.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 (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.0001798/0.2073, allocations: 131.2 kB / 0.5992 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2075, allocations: 51.97 kB / 0.5993 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2075, allocations: 7.938 kB / 0.5993 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.2075, allocations: 31.92 kB / 0.5993 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2077, allocations: 3.938 kB / 0.5993 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.2081, allocations: 153 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2083, allocations: 0.6848 MB / 0.6001 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.2084, allocations: 11.98 kB / 0.6001 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2084, allocations: 11.44 kB / 0.6001 GB, free: 14.84 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2084, allocations: 192 / 0.6001 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Templates: time 0.003036/0.2115, allocations: 0.7954 MB / 0.6009 GB, free: 14.07 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: