Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 197.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.016/1.016, allocations: 143 MB / 433 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.89 kB / 0.5135 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1818, allocations: 82.04 MB / 0.5936 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002036/0.1839, allocations: 0.6659 MB / 0.5943 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1857, allocations: 1.287 MB / 0.5955 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.1857, allocations: 0 / 0.5955 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1857, allocations: 0 / 0.5955 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.1858, allocations: 0 / 0.5955 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1861, allocations: 63.8 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.1862, allocations: 19.92 kB / 0.5956 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1862, allocations: 4 kB / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.1863, allocations: 11.98 kB / 0.5956 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.1863, allocations: 23.91 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1863, allocations: 4 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1866, allocations: 91.91 kB / 0.5957 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1866, allocations: 11.97 kB / 0.5958 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1866, allocations: 7.938 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1868, allocations: 67.86 kB / 0.5958 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.1868, allocations: 3.984 kB / 0.5958 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.52e-07/0.1868, allocations: 0 / 0.5958 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1868, allocations: 0 / 0.5958 GB, free: 7.777 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005879/0.1874, allocations: 347.8 kB / 0.5962 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1875, allocations: 8.031 kB / 0.5962 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1875, allocations: 4.938 kB / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1877, allocations: 172.2 kB / 0.5963 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1877, allocations: 384 / 0.5963 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.1877, allocations: 12.38 kB / 0.5964 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1879, allocations: 57.94 kB / 0.5964 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1879, allocations: 0 / 0.5964 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1879, allocations: 7.969 kB / 0.5964 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1879, allocations: 8 kB / 0.5964 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.188, allocations: 23.97 kB / 0.5964 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1882, allocations: 165.6 kB / 0.5966 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1884, allocations: 58.5 kB / 0.5967 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.1884, allocations: 28.84 kB / 0.5967 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.189, allocations: 0.5622 MB / 0.5972 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.189, allocations: 42.48 kB / 0.5973 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.189, allocations: 0 / 0.5973 GB, free: 6.008 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02021/0.2092, allocations: 4.371 MB / 0.6015 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2093, allocations: 51.41 kB / 0.6016 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.2094, allocations: 93.84 kB / 0.6017 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.2095, allocations: 29.7 kB / 0.6017 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.2095, allocations: 84.14 kB / 0.6018 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.2096, allocations: 59.09 kB / 0.6018 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2099, allocations: 93.61 kB / 0.6019 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.21, allocations: 330.9 kB / 0.6023 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.2105, allocations: 303.9 kB / 0.6025 GB, free: 432 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.2111, allocations: 311.8 kB / 0.6028 GB, free: 120 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2918/0.5029, allocations: 0.7712 MB / 0.6036 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5029, allocations: 0 / 0.6036 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001477/0.5044, allocations: 0.8007 MB / 0.6044 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5045, allocations: 7.719 kB / 0.6044 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5045, allocations: 0 / 0.6044 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5045, allocations: 0 / 0.6044 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.5053, allocations: 94.59 kB / 0.6045 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5053, allocations: 3 kB / 0.6045 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.5058, allocations: 9.406 kB / 0.6045 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.5058, allocations: 35.09 kB / 0.6045 GB, free: 44.33 MB / 0.4981 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 (18): * Single equations (assignments): 18 * 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.0001847/0.506, allocations: 123.2 kB / 0.6046 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.842e-05/0.5061, allocations: 4.125 kB / 0.6046 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.5092, allocations: 1.396 MB / 0.606 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.5093, allocations: 5.75 kB / 0.606 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5093, allocations: 0 / 0.606 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5093, allocations: 3.422 kB / 0.606 GB, free: 44.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.5118, allocations: 1.808 MB / 0.6078 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5118, allocations: 0 / 0.6078 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.5126, allocations: 106.3 kB / 0.6079 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5126, allocations: 9.188 kB / 0.6079 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.5127, allocations: 27.84 kB / 0.6079 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5127, allocations: 8.781 kB / 0.6079 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5127, allocations: 0.5625 kB / 0.6079 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.5148, allocations: 1.465 MB / 0.6094 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.5148, allocations: 102.3 kB / 0.6094 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.5149, allocations: 8 kB / 0.6095 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.5154, allocations: 13.52 kB / 0.6095 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.5156, allocations: 46.31 kB / 0.6095 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.5156, allocations: 30.72 kB / 0.6095 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.836e-05/0.5157, allocations: 75.28 kB / 0.6096 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5157, allocations: 0 / 0.6096 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006204/0.5163, allocations: 181.5 kB / 0.6098 GB, free: 42.33 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.0004801/0.5168, allocations: 226.2 kB / 0.61 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5179, allocations: 0.7191 MB / 0.6107 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5179, allocations: 4.094 kB / 0.6107 GB, free: 41.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.5185, allocations: 457.1 kB / 0.6111 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.5188, allocations: 21.19 kB / 0.6112 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5217, allocations: 0.8622 MB / 0.612 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.5218, allocations: 0.7142 MB / 0.6127 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001324/0.5232, allocations: 295.2 kB / 0.613 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.5237, allocations: 88.22 kB / 0.6131 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.5237, allocations: 0 / 0.6131 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.01455/0.5383, allocations: 10.75 MB / 0.6236 GB, free: 39.87 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)