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.1971/0.1992, allocations: 80.84 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001922/0.2012, allocations: 0.5666 MB / 0.6712 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.203, allocations: 1.05 MB / 0.6722 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.203, allocations: 0 / 0.6722 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.203, allocations: 3.938 kB / 0.6722 GB, free: 348 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.2031, allocations: 3.938 kB / 0.6722 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.2035, allocations: 67.73 kB / 0.6723 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.2036, allocations: 23.92 kB / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.2036, allocations: 0 / 0.6723 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.2036, allocations: 11.98 kB / 0.6723 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.2037, allocations: 15.92 kB / 0.6724 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2037, allocations: 0 / 0.6724 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2039, allocations: 95.84 kB / 0.6724 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.204, allocations: 11.98 kB / 0.6725 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.204, allocations: 7.922 kB / 0.6725 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.2042, allocations: 55.92 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2042, allocations: 0 / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2042, allocations: 0 / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2042, allocations: 0 / 0.6725 GB, free: 52 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.0007312/0.2049, allocations: 347.5 kB / 0.6728 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.205, allocations: 8.031 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.205, allocations: 0.9375 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.2052, allocations: 168.4 kB / 0.673 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2052, allocations: 384 / 0.673 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2052, allocations: 4.281 kB / 0.673 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2053, allocations: 45.62 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2053, allocations: 3.938 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2054, allocations: 11.94 kB / 0.6731 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2054, allocations: 0 / 0.6731 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.2054, allocations: 15.98 kB / 0.6731 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2057, allocations: 157.7 kB / 0.6732 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.2058, allocations: 38.64 kB / 0.6733 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.2059, allocations: 20.97 kB / 0.6733 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.2066, allocations: 0.5661 MB / 0.6739 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2066, allocations: 34.56 kB / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.2066, allocations: 0 / 0.6739 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001783/0.2084, allocations: 454 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.2085, allocations: 55.39 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.2085, allocations: 89.86 kB / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2086, allocations: 25.7 kB / 0.6745 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.2086, allocations: 96.06 kB / 0.6746 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.2087, allocations: 19.56 kB / 0.6746 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.2087, allocations: 25.72 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2089, allocations: 319 kB / 0.6749 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.2089, allocations: 20 kB / 0.6749 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.209, allocations: 23.92 kB / 0.675 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.2091, allocations: 48.8 kB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2091, allocations: 3.938 kB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001305/0.2092, allocations: 85.62 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2093, allocations: 4 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2093, allocations: 3.984 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2093, allocations: 0 / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2094, allocations: 16 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2094, allocations: 4.078 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.2095, allocations: 4 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2095, allocations: 4.422 kB / 0.6751 GB, free: 12.97 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 0.0001907/0.2097, allocations: 117.8 kB / 0.6752 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.2097, allocations: 3.906 kB / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.2099, allocations: 105.6 kB / 0.6753 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2099, allocations: 4 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.21, allocations: 4 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.21, allocations: 288 / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.2103, allocations: 173.6 kB / 0.6755 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2103, allocations: 0 / 0.6755 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2104, allocations: 15.94 kB / 0.6755 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.2104, allocations: 7.984 kB / 0.6755 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2104, allocations: 7.984 kB / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2104, allocations: 0 / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2104, allocations: 0 / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2107, allocations: 137 kB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.2108, allocations: 81.14 kB / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2108, allocations: 0 / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.2108, allocations: 0 / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.2109, allocations: 7.984 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2109, allocations: 16 kB / 0.6758 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2109, allocations: 75.28 kB / 0.6759 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2109, allocations: 0 / 0.6759 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002289/0.2112, allocations: 24 kB / 0.6759 GB, free: 12.09 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.0002184/0.2114, allocations: 127.2 kB / 0.676 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.2115, allocations: 51.92 kB / 0.676 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2116, allocations: 0 / 0.676 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.2116, allocations: 36.02 kB / 0.6761 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2118, allocations: 11.94 kB / 0.6761 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.2121, allocations: 149.4 kB / 0.6762 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2125, allocations: 0.6807 MB / 0.6769 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.762e-05/0.2126, allocations: 8 kB / 0.6769 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2126, allocations: 11.44 kB / 0.6769 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2126, allocations: 0 / 0.6769 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.003195/0.2158, allocations: 0.8309 MB / 0.6777 GB, free: 10.14 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)