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.001054/0.001054, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001154/0.001154, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 4.508 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 0.9648/0.9648, allocations: 143 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.5143 GB, free: 11.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 82.04 MB / 0.5945 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002015/0.1623, allocations: 0.666 MB / 0.5951 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.164, allocations: 1.283 MB / 0.5964 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.1641, allocations: 0 / 0.5964 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.1641, allocations: 3.938 kB / 0.5964 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.112e-05/0.1641, allocations: 0 / 0.5964 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1646, allocations: 63.86 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.1646, allocations: 19.98 kB / 0.5965 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1647, allocations: 7.938 kB / 0.5965 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.1647, allocations: 15.94 kB / 0.5965 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.1648, allocations: 15.91 kB / 0.5965 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1648, allocations: 4 kB / 0.5965 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.1651, allocations: 107.8 kB / 0.5966 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1651, allocations: 3.984 kB / 0.5966 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1651, allocations: 11.94 kB / 0.5966 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1652, allocations: 47.92 kB / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1653, allocations: 0 / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1653, allocations: 0 / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1653, allocations: 0 / 0.5967 GB, free: 7.598 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.0004696/0.1657, allocations: 354.2 kB / 0.597 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1658, allocations: 12.03 kB / 0.597 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.1658, allocations: 4.922 kB / 0.597 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.166, allocations: 168.3 kB / 0.5972 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.166, allocations: 384 / 0.5972 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.166, allocations: 8.312 kB / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1661, allocations: 54 kB / 0.5972 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1662, allocations: 3.984 kB / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1662, allocations: 4 kB / 0.5972 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1662, allocations: 3.938 kB / 0.5972 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.1662, allocations: 27.98 kB / 0.5973 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1664, allocations: 161.6 kB / 0.5974 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1665, allocations: 54.56 kB / 0.5975 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.1666, allocations: 28.84 kB / 0.5975 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.1671, allocations: 0.5625 MB / 0.5981 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1671, allocations: 46.48 kB / 0.5981 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1671, allocations: 3.938 kB / 0.5981 GB, free: 5.832 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.02078/0.1879, allocations: 4.367 MB / 0.6024 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.188, allocations: 55.41 kB / 0.6024 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.1881, allocations: 93.84 kB / 0.6025 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.1881, allocations: 29.7 kB / 0.6025 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.1882, allocations: 80.14 kB / 0.6026 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1883, allocations: 63.05 kB / 0.6027 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.1886, allocations: 97.73 kB / 0.6028 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.1887, allocations: 322.8 kB / 0.6031 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.1892, allocations: 311.9 kB / 0.6034 GB, free: 244 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2701/0.4593, allocations: 308.4 kB / 0.6037 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.4609, allocations: 0.7677 MB / 0.6044 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4609, allocations: 0 / 0.6044 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001371/0.4622, allocations: 0.804 MB / 0.6052 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4623, allocations: 2.906 kB / 0.6052 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4623, allocations: 0 / 0.6052 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4623, allocations: 4.219 kB / 0.6052 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/0.4631, allocations: 94.33 kB / 0.6053 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4632, allocations: 2.844 kB / 0.6053 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.4637, allocations: 9.312 kB / 0.6053 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.4638, allocations: 35.34 kB / 0.6053 GB, free: 44.09 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.000183/0.4639, allocations: 121.1 kB / 0.6055 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.464, allocations: 6.062 kB / 0.6055 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.4671, allocations: 1.401 MB / 0.6068 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4671, allocations: 2.812 kB / 0.6068 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4671, allocations: 2.812 kB / 0.6068 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4671, allocations: 0 / 0.6068 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.4696, allocations: 1.808 MB / 0.6086 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4696, allocations: 0 / 0.6086 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.4703, allocations: 107 kB / 0.6087 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4703, allocations: 6.531 kB / 0.6087 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.4704, allocations: 28.88 kB / 0.6087 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4704, allocations: 3.875 kB / 0.6087 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4704, allocations: 0.7656 kB / 0.6087 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.4724, allocations: 1.469 MB / 0.6102 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4724, allocations: 98.44 kB / 0.6103 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/0.4725, allocations: 16.03 kB / 0.6103 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.473, allocations: 9.938 kB / 0.6103 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4732, allocations: 40.56 kB / 0.6103 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.4732, allocations: 35.19 kB / 0.6104 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.4733, allocations: 76.7 kB / 0.6104 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4733, allocations: 0 / 0.6104 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005366/0.4738, allocations: 179.4 kB / 0.6106 GB, free: 42.05 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.0004523/0.4743, allocations: 228.6 kB / 0.6108 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.4754, allocations: 0.735 MB / 0.6115 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4754, allocations: 2.75 kB / 0.6115 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.476, allocations: 451.8 kB / 0.612 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4763, allocations: 17.81 kB / 0.612 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.4795, allocations: 0.8899 MB / 0.6129 GB, free: 41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4796, allocations: 0.7173 MB / 0.6136 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.4802, allocations: 95.97 kB / 0.6137 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4802, allocations: 0 / 0.6137 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.008512/0.4887, allocations: 6.922 MB / 0.6204 GB, free: 39.84 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)