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.2047/0.207, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001981/0.209, allocations: 0.5626 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2106, allocations: 1.054 MB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.2106, allocations: 0 / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.2107, allocations: 0 / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.578e-05/0.2107, allocations: 0 / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.2112, allocations: 79.66 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.2113, allocations: 15.92 kB / 0.6723 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.2113, allocations: 8 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.2113, allocations: 11.98 kB / 0.6723 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.2114, allocations: 7.938 kB / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2114, allocations: 0 / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.2116, allocations: 99.89 kB / 0.6724 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2116, allocations: 3.984 kB / 0.6724 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.2117, allocations: 11.92 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2118, allocations: 59.92 kB / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2118, allocations: 0 / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2118, allocations: 0 / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2119, allocations: 4 kB / 0.6725 GB, free: 88 kB / 0.4981 GB 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.0004987/0.2124, allocations: 335.5 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2124, allocations: 12.03 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.2124, allocations: 0.9375 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2126, allocations: 164.3 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2127, allocations: 8.359 kB / 0.673 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2127, allocations: 4.281 kB / 0.673 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.2128, allocations: 49.62 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2128, allocations: 4 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2128, allocations: 3.938 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2129, allocations: 4 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2129, allocations: 8 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2131, allocations: 157.7 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.2132, allocations: 50.56 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.2133, allocations: 20.98 kB / 0.6733 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.2138, allocations: 0.5622 MB / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2138, allocations: 34.56 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.2138, allocations: 0 / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001724/0.2156, allocations: 458.1 kB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2156, allocations: 55.41 kB / 0.6744 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2158, allocations: 93.8 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2158, allocations: 29.7 kB / 0.6745 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.2158, allocations: 84.08 kB / 0.6746 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.2159, allocations: 35.67 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.2159, allocations: 25.66 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2161, allocations: 314.8 kB / 0.6749 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.2161, allocations: 20 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.2162, allocations: 15.98 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.2162, allocations: 48.86 kB / 0.675 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2163, allocations: 3.938 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001301/0.2164, allocations: 85.62 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2164, allocations: 8.781 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2164, allocations: 4 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2164, allocations: 0 / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2166, allocations: 15.98 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2166, allocations: 448 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.2166, allocations: 4 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2166, allocations: 0 / 0.6751 GB, free: 13.01 MB / 0.5137 GB 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 8.467e-05/0.2167, allocations: 121.7 kB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2167, allocations: 3.906 kB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.217, allocations: 109.8 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.217, allocations: 0 / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.217, allocations: 0 / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.217, allocations: 4 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2171, allocations: 173.6 kB / 0.6755 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2171, allocations: 0 / 0.6755 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.2173, allocations: 19.94 kB / 0.6755 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2173, allocations: 0 / 0.6755 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2173, allocations: 8 kB / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2173, allocations: 0 / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2173, allocations: 0 / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2175, allocations: 129.2 kB / 0.6757 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.2175, allocations: 81.09 kB / 0.6758 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2176, allocations: 4.031 kB / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.2176, allocations: 4.062 kB / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.2177, allocations: 8 kB / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.2177, allocations: 3.938 kB / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.2177, allocations: 83.22 kB / 0.6758 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2177, allocations: 0 / 0.6758 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002007/0.2179, allocations: 23.98 kB / 0.6759 GB, free: 12.13 MB / 0.5137 GB 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.0001797/0.2181, allocations: 131.2 kB / 0.676 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2183, allocations: 56.14 kB / 0.6761 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2183, allocations: 0 / 0.6761 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.2183, allocations: 31.92 kB / 0.6761 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.2185, allocations: 11.94 kB / 0.6761 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.2189, allocations: 149.4 kB / 0.6762 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2192, allocations: 0.6807 MB / 0.6769 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.2193, allocations: 12 kB / 0.6769 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.2193, allocations: 11.62 kB / 0.6769 GB, free: 11 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.2193, allocations: 0 / 0.6769 GB, free: 11 MB / 0.5137 GB Notification: Performance of Templates: time 0.003464/0.2228, allocations: 0.8401 MB / 0.6777 GB, free: 10.17 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)