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.001428/0.001428, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001724/0.001724, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.015/1.015, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 63.91 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2015, allocations: 82.03 MB / 0.5938 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002553/0.2041, allocations: 0.6699 MB / 0.5944 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2063, allocations: 1.279 MB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.2063, allocations: 0 / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.2064, allocations: 4 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.2064, allocations: 0 / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.207, allocations: 67.81 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.068e-05/0.207, allocations: 19.98 kB / 0.5958 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.2071, allocations: 0 / 0.5958 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.2071, allocations: 19.92 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.2072, allocations: 11.92 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2072, allocations: 0 / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.2075, allocations: 107.9 kB / 0.5959 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2075, allocations: 8 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.2076, allocations: 11.92 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2077, allocations: 67.84 kB / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2077, allocations: 3.938 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2078, allocations: 0 / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2078, allocations: 4 kB / 0.596 GB, free: 7.641 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.0005588/0.2083, allocations: 351.8 kB / 0.5963 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2084, allocations: 8.625 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.2084, allocations: 0.9375 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2086, allocations: 176.3 kB / 0.5965 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2086, allocations: 384 / 0.5965 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2086, allocations: 8.375 kB / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2088, allocations: 57.97 kB / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.2088, allocations: 0 / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2088, allocations: 4 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2088, allocations: 0 / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.938e-05/0.2089, allocations: 23.98 kB / 0.5966 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.2091, allocations: 173.6 kB / 0.5968 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2092, allocations: 58.5 kB / 0.5968 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.2093, allocations: 28.78 kB / 0.5969 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.2098, allocations: 0.5622 MB / 0.5974 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2098, allocations: 38.5 kB / 0.5974 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2098, allocations: 0 / 0.5974 GB, free: 5.879 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.0206/0.2305, allocations: 4.367 MB / 0.6017 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2306, allocations: 55.41 kB / 0.6018 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.2307, allocations: 97.86 kB / 0.6019 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.2308, allocations: 25.7 kB / 0.6019 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.2308, allocations: 84.14 kB / 0.602 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2309, allocations: 59.09 kB / 0.602 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.2312, allocations: 93.67 kB / 0.6021 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2314, allocations: 314.8 kB / 0.6024 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.232, allocations: 319.8 kB / 0.6027 GB, free: 300 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3139/0.5459, allocations: 309 kB / 0.603 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.5475, allocations: 0.7707 MB / 0.6038 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5475, allocations: 0 / 0.6038 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00138/0.5489, allocations: 0.7976 MB / 0.6045 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5489, allocations: 7.375 kB / 0.6045 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5489, allocations: 2.812 kB / 0.6045 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.549, allocations: 3.031 kB / 0.6046 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.5497, allocations: 94.48 kB / 0.6046 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5498, allocations: 0.625 kB / 0.6046 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.5502, allocations: 9.031 kB / 0.6047 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.5503, allocations: 36.48 kB / 0.6047 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.0001795/0.5505, allocations: 123.8 kB / 0.6048 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.5506, allocations: 3.906 kB / 0.6048 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.5535, allocations: 1.402 MB / 0.6062 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5536, allocations: 5.656 kB / 0.6062 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5536, allocations: 0.5625 kB / 0.6062 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5536, allocations: 3.422 kB / 0.6062 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.5559, allocations: 1.811 MB / 0.608 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5559, allocations: 0 / 0.608 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/0.5567, allocations: 111.3 kB / 0.6081 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5567, allocations: 6.844 kB / 0.6081 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.5568, allocations: 24.44 kB / 0.6081 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5568, allocations: 9.031 kB / 0.6081 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5568, allocations: 0 / 0.6081 GB, free: 43.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.5588, allocations: 1.47 MB / 0.6095 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.5588, allocations: 100 kB / 0.6096 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.5589, allocations: 6.75 kB / 0.6096 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.5594, allocations: 9.594 kB / 0.6096 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.5595, allocations: 47.09 kB / 0.6097 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.5596, allocations: 36.19 kB / 0.6097 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.054e-05/0.5596, allocations: 78.78 kB / 0.6098 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5596, allocations: 0 / 0.6098 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005287/0.5602, allocations: 177.5 kB / 0.61 GB, free: 42.07 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.0004648/0.5606, allocations: 225.3 kB / 0.6102 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.5617, allocations: 0.735 MB / 0.6109 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5617, allocations: 3.062 kB / 0.6109 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.5623, allocations: 454.1 kB / 0.6113 GB, free: 41.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.5626, allocations: 17.28 kB / 0.6114 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.5656, allocations: 0.8642 MB / 0.6122 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.5658, allocations: 0.7142 MB / 0.6129 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001342/0.5671, allocations: 295.1 kB / 0.6132 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.5676, allocations: 92.12 kB / 0.6133 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.5677, allocations: 0.9844 kB / 0.6133 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.01447/0.5821, allocations: 11.25 MB / 0.6243 GB, free: 39.6 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)