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.2327/0.2346, allocations: 80.83 MB / 0.5897 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002033/0.2367, allocations: 0.6385 MB / 0.5903 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2382, allocations: 1.054 MB / 0.5913 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.2383, allocations: 0 / 0.5913 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.2383, allocations: 0 / 0.5913 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.2383, allocations: 0 / 0.5913 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.2386, allocations: 55.81 kB / 0.5914 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.2387, allocations: 19.92 kB / 0.5914 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.2388, allocations: 11.98 kB / 0.5914 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2388, allocations: 4 kB / 0.5914 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.2389, allocations: 11.98 kB / 0.5914 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2389, allocations: 0 / 0.5914 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.2391, allocations: 91.89 kB / 0.5915 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.2391, allocations: 3.938 kB / 0.5915 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2392, allocations: 8 kB / 0.5915 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2393, allocations: 59.86 kB / 0.5916 GB, free: 5.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2393, allocations: 0 / 0.5916 GB, free: 5.117 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2393, allocations: 0 / 0.5916 GB, free: 5.117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2393, allocations: 4 kB / 0.5916 GB, free: 5.113 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.0004607/0.2398, allocations: 351.7 kB / 0.5919 GB, free: 4.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2398, allocations: 12.03 kB / 0.592 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2399, allocations: 0.9375 kB / 0.592 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.24, allocations: 160.4 kB / 0.5921 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.24, allocations: 8.375 kB / 0.5921 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2401, allocations: 384 / 0.5921 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2402, allocations: 45.81 kB / 0.5922 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2402, allocations: 4 kB / 0.5922 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2402, allocations: 0 / 0.5922 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2402, allocations: 0 / 0.5922 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.2403, allocations: 15.98 kB / 0.5922 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2404, allocations: 169.7 kB / 0.5923 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.2406, allocations: 46.5 kB / 0.5924 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.2406, allocations: 20.92 kB / 0.5924 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/0.2411, allocations: 0.5544 MB / 0.5929 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2412, allocations: 42.5 kB / 0.593 GB, free: 3.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2412, allocations: 0 / 0.593 GB, free: 3.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001631/0.2428, allocations: 450.7 kB / 0.5934 GB, free: 2.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2429, allocations: 59.34 kB / 0.5935 GB, free: 2.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.2429, allocations: 97.84 kB / 0.5936 GB, free: 2.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2429, allocations: 25.7 kB / 0.5936 GB, free: 2.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.243, allocations: 80.14 kB / 0.5937 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.243, allocations: 23.84 kB / 0.5937 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2431, allocations: 25.7 kB / 0.5937 GB, free: 2.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2432, allocations: 314.8 kB / 0.594 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.2432, allocations: 15.98 kB / 0.594 GB, free: 2.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.2433, allocations: 20 kB / 0.594 GB, free: 2.223 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.2434, allocations: 60.77 kB / 0.5941 GB, free: 2.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2434, allocations: 0 / 0.5941 GB, free: 2.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001318/0.2435, allocations: 89.47 kB / 0.5942 GB, free: 2.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2435, allocations: 8 kB / 0.5942 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2435, allocations: 4.281 kB / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2436, allocations: 0 / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2437, allocations: 19.92 kB / 0.5942 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2437, allocations: 3.938 kB / 0.5942 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.2437, allocations: 0 / 0.5942 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2437, allocations: 8 kB / 0.5942 GB, free: 2.023 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 8.841e-05/0.2438, allocations: 118.6 kB / 0.5943 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.2438, allocations: 0 / 0.5943 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.2441, allocations: 101.7 kB / 0.5944 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2441, allocations: 0 / 0.5944 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2441, allocations: 4.375 kB / 0.5944 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2441, allocations: 0 / 0.5944 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2442, allocations: 177.6 kB / 0.5946 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2442, allocations: 4 kB / 0.5946 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2444, allocations: 19.98 kB / 0.5946 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2444, allocations: 0 / 0.5946 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2444, allocations: 0 / 0.5946 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2444, allocations: 4 kB / 0.5946 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2444, allocations: 0 / 0.5946 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2446, allocations: 140.9 kB / 0.5948 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.2447, allocations: 77.11 kB / 0.5949 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2447, allocations: 8.031 kB / 0.5949 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.2447, allocations: 4.062 kB / 0.5949 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.2448, allocations: 7.984 kB / 0.5949 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2448, allocations: 0 / 0.5949 GB, free: 1.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.2448, allocations: 75.28 kB / 0.5949 GB, free: 1.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2448, allocations: 4 kB / 0.5949 GB, free: 1.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.2451, allocations: 24 kB / 0.595 GB, free: 1.164 MB / 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 (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.0002133/0.2453, allocations: 127.1 kB / 0.5951 GB, free: 1.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.2454, allocations: 64 kB / 0.5952 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2454, allocations: 0 / 0.5952 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.2455, allocations: 27.98 kB / 0.5952 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.2456, allocations: 7.938 kB / 0.5952 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.246, allocations: 147.5 kB / 0.5953 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2463, allocations: 0.6849 MB / 0.596 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.2464, allocations: 15.94 kB / 0.596 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2464, allocations: 15.42 kB / 0.596 GB, free: 28 kB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2464, allocations: 0 / 0.596 GB, free: 28 kB / 446.1 MB Notification: Performance of Templates: time 0.003135/0.2496, allocations: 0.8042 MB / 0.5968 GB, free: 15.25 MB / 462.1 MB 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)