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.2248/0.2255, allocations: 82.22 MB / 0.5935 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008905/0.2265, allocations: 292.9 kB / 0.5938 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2282, allocations: 1.019 MB / 0.5948 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.2283, allocations: 0 / 0.5948 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2283, allocations: 3.938 kB / 0.5948 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.2283, allocations: 0 / 0.5948 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.2288, allocations: 67.86 kB / 0.5948 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.2288, allocations: 11.98 kB / 0.5948 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.2289, allocations: 4 kB / 0.5948 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.2289, allocations: 7.938 kB / 0.5948 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.229, allocations: 11.98 kB / 0.5949 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.229, allocations: 0 / 0.5949 GB, free: 4.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.2293, allocations: 83.91 kB / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2293, allocations: 11.92 kB / 0.5949 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2293, allocations: 29.7 kB / 0.595 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.2295, allocations: 43.94 kB / 0.595 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2295, allocations: 0 / 0.595 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2295, allocations: 0 / 0.595 GB, free: 4.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2295, allocations: 0 / 0.595 GB, free: 4.355 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.000481/0.23, allocations: 335.5 kB / 0.5953 GB, free: 3.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.23, allocations: 8.031 kB / 0.5953 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.2301, allocations: 4 kB / 0.5953 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2302, allocations: 159.1 kB / 0.5955 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2303, allocations: 4 kB / 0.5955 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2303, allocations: 11.98 kB / 0.5955 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2304, allocations: 53.56 kB / 0.5956 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2304, allocations: 3.938 kB / 0.5956 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2305, allocations: 0 / 0.5956 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2305, allocations: 0 / 0.5956 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.2305, allocations: 12 kB / 0.5956 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.2307, allocations: 157.7 kB / 0.5957 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.2308, allocations: 46.56 kB / 0.5958 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.2309, allocations: 20.92 kB / 0.5958 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.2314, allocations: 0.5583 MB / 0.5963 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2315, allocations: 34.56 kB / 0.5964 GB, free: 2.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.2315, allocations: 0 / 0.5964 GB, free: 2.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001674/0.2331, allocations: 470.7 kB / 0.5968 GB, free: 2.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2332, allocations: 51.41 kB / 0.5969 GB, free: 2.098 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.2333, allocations: 101.8 kB / 0.597 GB, free: 1.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2333, allocations: 25.7 kB / 0.597 GB, free: 1.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.2334, allocations: 80.14 kB / 0.5971 GB, free: 1.875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.2334, allocations: 27.61 kB / 0.5971 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.2334, allocations: 4 kB / 0.5971 GB, free: 1.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2336, allocations: 310.8 kB / 0.5974 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.2336, allocations: 23.98 kB / 0.5974 GB, free: 1.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.2336, allocations: 12 kB / 0.5974 GB, free: 1.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.2337, allocations: 23.94 kB / 0.5975 GB, free: 1.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.2337, allocations: 4.125 kB / 0.5975 GB, free: 1.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001526/0.2339, allocations: 85.59 kB / 0.5975 GB, free: 1.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2339, allocations: 11.95 kB / 0.5976 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2339, allocations: 0 / 0.5976 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2339, allocations: 3.984 kB / 0.5976 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.234, allocations: 15.94 kB / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2341, allocations: 0 / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.2341, allocations: 0 / 0.5976 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2341, allocations: 4 kB / 0.5976 GB, free: 1.344 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 9.123e-05/0.2342, allocations: 119 kB / 0.5977 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.2342, allocations: 0 / 0.5977 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.2345, allocations: 113.4 kB / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2345, allocations: 0 / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2345, allocations: 0 / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2345, allocations: 4 kB / 0.5978 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2347, allocations: 177.7 kB / 0.598 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2347, allocations: 448 / 0.598 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.2348, allocations: 12 kB / 0.598 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2348, allocations: 0 / 0.598 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2348, allocations: 7.953 kB / 0.598 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2348, allocations: 7.984 kB / 0.598 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2348, allocations: 0 / 0.598 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2351, allocations: 140.9 kB / 0.5981 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.2351, allocations: 77.11 kB / 0.5982 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2351, allocations: 0 / 0.5982 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.2352, allocations: 15.92 kB / 0.5982 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2352, allocations: 0 / 0.5982 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2352, allocations: 7.984 kB / 0.5982 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.2353, allocations: 75.28 kB / 0.5983 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2353, allocations: 0 / 0.5983 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.2355, allocations: 24 kB / 0.5983 GB, free: 484 kB / 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.0002043/0.2357, allocations: 131.3 kB / 0.5984 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2359, allocations: 51.92 kB / 0.5985 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2359, allocations: 0 / 0.5985 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.2359, allocations: 27.98 kB / 0.5985 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.2361, allocations: 6.516 kB / 0.5985 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.2365, allocations: 148.7 kB / 0.5987 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.2368, allocations: 0.6887 MB / 0.5993 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.2368, allocations: 20.62 kB / 0.5994 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.2369, allocations: 11.44 kB / 0.5994 GB, free: 15.34 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2369, allocations: 0 / 0.5994 GB, free: 15.34 MB / 462.1 MB Notification: Performance of Templates: time 0.003382/0.2403, allocations: 0.7833 MB / 0.6001 GB, free: 14.59 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: