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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6811/0.6811, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009744/0.0009742, allocations: 172 kB / 176.9 MB, free: 2.23 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.235/1.235, allocations: 170.5 MB / 379.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001563/0.001563, allocations: 112.6 kB / 450 MB, free: 5.844 MB / 346.7 MB [/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.4296/0.4297, allocations: 73.39 MB / 0.6736 GB, free: 47.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.5526, allocations: 101.9 MB / 0.7731 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.5528, allocations: 79.89 kB / 0.7732 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005466/0.5583, allocations: 1.829 MB / 0.7749 GB, free: 12.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5583, allocations: 0 / 0.7749 GB, free: 12.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5583, allocations: 0 / 0.7749 GB, free: 12.97 MB / 490.7 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.0003525/0.5587, allocations: 346.4 kB / 0.7753 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5587, allocations: 8.031 kB / 0.7753 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.5588, allocations: 5.875 kB / 0.7753 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.5589, allocations: 165.8 kB / 0.7755 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.559, allocations: 1.188 kB / 0.7755 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.559, allocations: 8 kB / 0.7755 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5591, allocations: 41.69 kB / 0.7755 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.5591, allocations: 3.938 kB / 0.7755 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5592, allocations: 11.67 kB / 0.7755 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5592, allocations: 0 / 0.7755 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.5592, allocations: 12 kB / 0.7755 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.5594, allocations: 165.6 kB / 0.7757 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.5595, allocations: 46.56 kB / 0.7757 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.5595, allocations: 18.3 kB / 0.7757 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.56, allocations: 0.5544 MB / 0.7763 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5601, allocations: 34.56 kB / 0.7763 GB, free: 11.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5601, allocations: 0 / 0.7763 GB, free: 11.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.001602/0.5617, allocations: 444.7 kB / 0.7767 GB, free: 10.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5617, allocations: 51.41 kB / 0.7768 GB, free: 10.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.5618, allocations: 96.98 kB / 0.7769 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5618, allocations: 29.7 kB / 0.7769 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.5619, allocations: 84.08 kB / 0.777 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.5619, allocations: 31.55 kB / 0.777 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.5619, allocations: 0 / 0.777 GB, free: 10.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.562, allocations: 314.8 kB / 0.7773 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.5621, allocations: 20 kB / 0.7773 GB, free: 10.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.5621, allocations: 16 kB / 0.7774 GB, free: 10.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.5622, allocations: 22.91 kB / 0.7774 GB, free: 10.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5622, allocations: 8.062 kB / 0.7774 GB, free: 10.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001348/0.5623, allocations: 77.69 kB / 0.7775 GB, free: 10.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5623, allocations: 7.984 kB / 0.7775 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5623, allocations: 5.484 kB / 0.7775 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5624, allocations: 6.016 kB / 0.7775 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.5625, allocations: 15.94 kB / 0.7775 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5625, allocations: 0 / 0.7775 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.5625, allocations: 0 / 0.7775 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.5625, allocations: 4 kB / 0.7775 GB, free: 9.996 MB / 490.7 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 () * 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 5.929e-05/0.5626, allocations: 105 kB / 0.7776 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.5626, allocations: 8 kB / 0.7776 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.5628, allocations: 97.69 kB / 0.7777 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5628, allocations: 3.953 kB / 0.7777 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5629, allocations: 0 / 0.7777 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5629, allocations: 4 kB / 0.7777 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.563, allocations: 175.4 kB / 0.7779 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.563, allocations: 0 / 0.7779 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.5631, allocations: 12 kB / 0.7779 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5631, allocations: 0 / 0.7779 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5631, allocations: 3.984 kB / 0.7779 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5631, allocations: 4 kB / 0.7779 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5631, allocations: 6.328 kB / 0.7779 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.5633, allocations: 141.8 kB / 0.778 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.5634, allocations: 77.11 kB / 0.7781 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5634, allocations: 0 / 0.7781 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.5635, allocations: 3.984 kB / 0.7781 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.5635, allocations: 7.953 kB / 0.7781 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5635, allocations: 11.94 kB / 0.7781 GB, free: 9.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.5635, allocations: 75.28 kB / 0.7782 GB, free: 9.184 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5636, allocations: 0 / 0.7782 GB, free: 9.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00019/0.5637, allocations: 31.94 kB / 0.7782 GB, free: 9.152 MB / 490.7 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 () * 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.0001979/0.564, allocations: 135.3 kB / 0.7784 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.5641, allocations: 55.11 kB / 0.7784 GB, free: 8.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5641, allocations: 4 kB / 0.7784 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.5641, allocations: 24.78 kB / 0.7784 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.374e-05/0.5642, allocations: 4 kB / 0.7784 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.5645, allocations: 101.8 kB / 0.7785 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.5648, allocations: 0.6887 MB / 0.7792 GB, free: 8.094 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.5649, allocations: 13.2 kB / 0.7792 GB, free: 8.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.5649, allocations: 15.38 kB / 0.7792 GB, free: 8.062 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5649, allocations: 0 / 0.7792 GB, free: 8.062 MB / 490.7 MB Notification: Performance of Templates: time 0.002491/0.5674, allocations: 0.7422 MB / 0.78 GB, free: 7.352 MB / 490.7 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)