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.006072/0.006072, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001339/0.001339, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.9563/0.9563, allocations: 143.1 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.5142 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1518, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001783/0.1537, allocations: 0.6777 MB / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1553, allocations: 1.287 MB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.1553, allocations: 0 / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1553, allocations: 0 / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.1554, allocations: 0 / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.1557, allocations: 63.86 kB / 0.5963 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.1558, allocations: 23.92 kB / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1558, allocations: 0 / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.1559, allocations: 4 kB / 0.5963 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.1559, allocations: 27.84 kB / 0.5963 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1559, allocations: 0 / 0.5963 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.1562, allocations: 99.89 kB / 0.5964 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.1562, allocations: 3.984 kB / 0.5964 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1562, allocations: 11.94 kB / 0.5964 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1564, allocations: 47.92 kB / 0.5965 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1564, allocations: 4 kB / 0.5965 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1564, allocations: 4 kB / 0.5965 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1564, allocations: 3.938 kB / 0.5965 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.0004577/0.1568, allocations: 343.8 kB / 0.5968 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1569, allocations: 8.031 kB / 0.5968 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1569, allocations: 0.9375 kB / 0.5968 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1571, allocations: 172.3 kB / 0.597 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1571, allocations: 8.312 kB / 0.597 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1571, allocations: 8.375 kB / 0.597 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1572, allocations: 57.94 kB / 0.5971 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1573, allocations: 3.984 kB / 0.5971 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1573, allocations: 0 / 0.5971 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1573, allocations: 0 / 0.5971 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.1574, allocations: 23.98 kB / 0.5971 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.1576, allocations: 165.6 kB / 0.5972 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1578, allocations: 62.61 kB / 0.5973 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.1579, allocations: 36.78 kB / 0.5973 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/0.1584, allocations: 0.5544 MB / 0.5979 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1584, allocations: 38.48 kB / 0.5979 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1584, allocations: 0 / 0.5979 GB, free: 6.023 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.02063/0.1791, allocations: 4.37 MB / 0.6022 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1792, allocations: 55.41 kB / 0.6022 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.1792, allocations: 93.84 kB / 0.6023 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.1793, allocations: 29.7 kB / 0.6023 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.1794, allocations: 88.27 kB / 0.6024 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1795, allocations: 55.11 kB / 0.6025 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.1797, allocations: 89.67 kB / 0.6026 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1799, allocations: 322.8 kB / 0.6029 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.1805, allocations: 307.9 kB / 0.6032 GB, free: 448 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.181, allocations: 317.9 kB / 0.6035 GB, free: 132 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2587/0.4397, allocations: 0.7649 MB / 0.6042 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4398, allocations: 0 / 0.6042 GB, free: 44.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001517/0.4413, allocations: 0.7972 MB / 0.605 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4413, allocations: 9.25 kB / 0.605 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4414, allocations: 0 / 0.605 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4414, allocations: 2.812 kB / 0.605 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.4422, allocations: 96.02 kB / 0.6051 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4422, allocations: 2.875 kB / 0.6051 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.4427, allocations: 5.969 kB / 0.6051 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.4428, allocations: 35.84 kB / 0.6051 GB, free: 44.28 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.0001829/0.443, allocations: 121.8 kB / 0.6053 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.4431, allocations: 7.219 kB / 0.6053 GB, free: 44.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.4462, allocations: 1.396 MB / 0.6066 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4462, allocations: 6.281 kB / 0.6066 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4463, allocations: 4 kB / 0.6066 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4463, allocations: 3.047 kB / 0.6066 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.4489, allocations: 1.81 MB / 0.6084 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4489, allocations: 3 kB / 0.6084 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.4496, allocations: 102.5 kB / 0.6085 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4496, allocations: 7.625 kB / 0.6085 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.4497, allocations: 33.27 kB / 0.6086 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4497, allocations: 0 / 0.6086 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4497, allocations: 4.75 kB / 0.6086 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.4518, allocations: 1.471 MB / 0.61 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.4519, allocations: 94.08 kB / 0.6101 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.452, allocations: 7.406 kB / 0.6101 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.4525, allocations: 15.53 kB / 0.6101 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4526, allocations: 39.19 kB / 0.6101 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.4527, allocations: 33.06 kB / 0.6102 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.152e-05/0.4527, allocations: 79.34 kB / 0.6102 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4527, allocations: 4.219 kB / 0.6103 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005584/0.4533, allocations: 180 kB / 0.6104 GB, free: 42.29 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.0004962/0.4538, allocations: 225.7 kB / 0.6106 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.4549, allocations: 0.7238 MB / 0.6113 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4549, allocations: 0 / 0.6113 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.4555, allocations: 449.3 kB / 0.6118 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4558, allocations: 29.27 kB / 0.6118 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4588, allocations: 0.8795 MB / 0.6127 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4589, allocations: 0.7192 MB / 0.6134 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.4595, allocations: 94.98 kB / 0.6135 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.694e-06/0.4595, allocations: 0 / 0.6135 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.009587/0.4691, allocations: 6.914 MB / 0.6202 GB, free: 40.09 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)