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.001032/0.001032, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008461/0.008461, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.026/1.026, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 16 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 83.41 MB / 0.5979 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000901/0.22, allocations: 343 kB / 0.5982 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2218, allocations: 1.279 MB / 0.5994 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.2218, allocations: 0 / 0.5994 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.2219, allocations: 0 / 0.5994 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.415e-05/0.2219, allocations: 0 / 0.5994 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.2222, allocations: 55.86 kB / 0.5995 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.2223, allocations: 23.92 kB / 0.5995 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.2224, allocations: 0 / 0.5995 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.2224, allocations: 19.92 kB / 0.5995 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.2225, allocations: 19.91 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2225, allocations: 0 / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.2227, allocations: 95.91 kB / 0.5996 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.2228, allocations: 7.984 kB / 0.5996 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.2228, allocations: 41.62 kB / 0.5997 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.223, allocations: 59.86 kB / 0.5997 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.223, allocations: 0 / 0.5997 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.223, allocations: 0 / 0.5997 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.223, allocations: 4 kB / 0.5997 GB, free: 5.668 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.0004944/0.2235, allocations: 343.9 kB / 0.6001 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2235, allocations: 8.031 kB / 0.6001 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2236, allocations: 8.844 kB / 0.6001 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2237, allocations: 164.3 kB / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2237, allocations: 4.375 kB / 0.6003 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.2238, allocations: 8.312 kB / 0.6003 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2239, allocations: 61.92 kB / 0.6003 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2239, allocations: 0 / 0.6003 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.224, allocations: 4 kB / 0.6003 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.224, allocations: 0 / 0.6003 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.224, allocations: 23.98 kB / 0.6003 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.2242, allocations: 173.5 kB / 0.6005 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2244, allocations: 58.5 kB / 0.6006 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.2244, allocations: 24.86 kB / 0.6006 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.225, allocations: 0.57 MB / 0.6012 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.225, allocations: 34.5 kB / 0.6012 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.225, allocations: 0 / 0.6012 GB, free: 3.91 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.3601/0.5851, allocations: 4.28 MB / 0.6054 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5852, allocations: 53.56 kB / 0.6054 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.5852, allocations: 97.53 kB / 0.6055 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.5853, allocations: 29.52 kB / 0.6055 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.5853, allocations: 80.14 kB / 0.6056 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.5854, allocations: 56.5 kB / 0.6057 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.5855, allocations: 20.53 kB / 0.6057 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.5856, allocations: 327.9 kB / 0.606 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.586, allocations: 307.7 kB / 0.6063 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.5865, allocations: 312.1 kB / 0.6066 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.5878, allocations: 0.7724 MB / 0.6073 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5879, allocations: 0 / 0.6073 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001363/0.5892, allocations: 0.7963 MB / 0.6081 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5892, allocations: 4.688 kB / 0.6081 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5893, allocations: 0 / 0.6081 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5893, allocations: 4.188 kB / 0.6081 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.5901, allocations: 98.22 kB / 0.6082 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5901, allocations: 2.562 kB / 0.6082 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.5907, allocations: 8.688 kB / 0.6082 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.5908, allocations: 34.5 kB / 0.6083 GB, free: 40.25 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.0001721/0.591, allocations: 117.9 kB / 0.6084 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.591, allocations: 12.91 kB / 0.6084 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.5941, allocations: 1.404 MB / 0.6098 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5941, allocations: 5.906 kB / 0.6098 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5941, allocations: 0 / 0.6098 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5941, allocations: 6.234 kB / 0.6098 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.5966, allocations: 1.8 MB / 0.6115 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5966, allocations: 0 / 0.6115 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.5974, allocations: 112.6 kB / 0.6116 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5974, allocations: 2.938 kB / 0.6116 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.5975, allocations: 29.33 kB / 0.6117 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5975, allocations: 2.312 kB / 0.6117 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5975, allocations: 2.656 kB / 0.6117 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.5996, allocations: 1.475 MB / 0.6131 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.5996, allocations: 91.23 kB / 0.6132 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.5997, allocations: 14.47 kB / 0.6132 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.6002, allocations: 9.75 kB / 0.6132 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.6004, allocations: 39.39 kB / 0.6133 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.6004, allocations: 35.09 kB / 0.6133 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.878e-05/0.6005, allocations: 78.22 kB / 0.6134 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6005, allocations: 0 / 0.6134 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005149/0.601, allocations: 175.8 kB / 0.6135 GB, free: 38.98 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.0004487/0.6015, allocations: 233.1 kB / 0.6138 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.6025, allocations: 0.7235 MB / 0.6145 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6025, allocations: 0 / 0.6145 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.603, allocations: 447.7 kB / 0.6149 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.6034, allocations: 13.5 kB / 0.6149 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.6065, allocations: 0.8669 MB / 0.6158 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.6066, allocations: 0.7165 MB / 0.6165 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001286/0.6079, allocations: 292.9 kB / 0.6167 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.6085, allocations: 96.83 kB / 0.6168 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.6085, allocations: 0 / 0.6168 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.01442/0.6229, allocations: 10.66 MB / 0.6272 GB, free: 36.52 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)