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.2288/0.2309, allocations: 80.84 MB / 0.6707 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001972/0.233, allocations: 0.5665 MB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2345, allocations: 1.047 MB / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.2346, allocations: 0 / 0.6722 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2346, allocations: 3.938 kB / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.2347, allocations: 0 / 0.6722 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.2351, allocations: 75.67 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.2352, allocations: 19.98 kB / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/0.2352, allocations: 4 kB / 0.6723 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.2353, allocations: 11.97 kB / 0.6723 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.2354, allocations: 11.94 kB / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2354, allocations: 0 / 0.6723 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.2356, allocations: 99.83 kB / 0.6724 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2356, allocations: 0 / 0.6724 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.2356, allocations: 15.92 kB / 0.6725 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.2358, allocations: 51.94 kB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2358, allocations: 7.922 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2358, allocations: 4 kB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2358, allocations: 0 / 0.6725 GB, free: 84 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.0005375/0.2364, allocations: 339.5 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2364, allocations: 8.031 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.2365, allocations: 0.9375 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2366, allocations: 164.4 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2366, allocations: 384 / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.2367, allocations: 12.27 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2368, allocations: 49.62 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2369, allocations: 3.938 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2369, allocations: 7.938 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2369, allocations: 0 / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.2369, allocations: 12 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.2372, allocations: 161.7 kB / 0.6732 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.2373, allocations: 42.56 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.2373, allocations: 20.98 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.2379, allocations: 0.5622 MB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.238, allocations: 34.56 kB / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.238, allocations: 0 / 0.6739 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001785/0.2397, allocations: 462.5 kB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2398, allocations: 51.41 kB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.2399, allocations: 93.86 kB / 0.6745 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2399, allocations: 29.64 kB / 0.6745 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.24, allocations: 88.27 kB / 0.6746 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.24, allocations: 27.55 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.2401, allocations: 21.72 kB / 0.6746 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2402, allocations: 318.8 kB / 0.6749 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.2402, allocations: 16 kB / 0.6749 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.2403, allocations: 19.98 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.2404, allocations: 56.91 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.2404, allocations: 3.938 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001479/0.2406, allocations: 89.62 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2406, allocations: 8 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2406, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.2406, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2407, allocations: 15.98 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2408, allocations: 4 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.2408, allocations: 0 / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2408, allocations: 0 / 0.6751 GB, free: 13 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.505e-05/0.2409, allocations: 117.8 kB / 0.6752 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2409, allocations: 3.906 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.2412, allocations: 109.6 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2412, allocations: 4 kB / 0.6754 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2412, allocations: 0 / 0.6754 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2412, allocations: 0 / 0.6754 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2413, allocations: 173.6 kB / 0.6755 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2414, allocations: 4 kB / 0.6755 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.2415, allocations: 12 kB / 0.6755 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2415, allocations: 0 / 0.6755 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2415, allocations: 4 kB / 0.6755 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2415, allocations: 0 / 0.6755 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2415, allocations: 0 / 0.6755 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.2417, allocations: 137 kB / 0.6757 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.2418, allocations: 85.12 kB / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2418, allocations: 4.062 kB / 0.6758 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.2419, allocations: 4 kB / 0.6758 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2419, allocations: 8.031 kB / 0.6758 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2419, allocations: 11.94 kB / 0.6758 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.242, allocations: 75.28 kB / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.242, allocations: 0 / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002236/0.2422, allocations: 31.98 kB / 0.6759 GB, free: 12.12 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.0002039/0.2424, allocations: 119.3 kB / 0.676 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.2426, allocations: 63.91 kB / 0.6761 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2426, allocations: 0 / 0.6761 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.2427, allocations: 27.98 kB / 0.6761 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.2429, allocations: 11.88 kB / 0.6761 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.2434, allocations: 149.4 kB / 0.6762 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2438, allocations: 0.6807 MB / 0.6769 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.2438, allocations: 12 kB / 0.6769 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.2439, allocations: 11.44 kB / 0.6769 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.2439, allocations: 0 / 0.6769 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.003732/0.2476, allocations: 0.8278 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)