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.005302/0.005302, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 190.7 kB / 16.67 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.004/1.004, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 75.81 kB / 0.5956 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4361, allocations: 82.02 MB / 0.6757 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001466/0.4376, allocations: 0.6078 MB / 0.6763 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4388, allocations: 1.284 MB / 0.6775 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.4388, allocations: 0 / 0.6775 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.4389, allocations: 7.984 kB / 0.6775 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.136e-05/0.4389, allocations: 1.094 kB / 0.6775 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.4392, allocations: 73.42 kB / 0.6776 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.4393, allocations: 23.28 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.4394, allocations: 5.391 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.4394, allocations: 13.31 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.4395, allocations: 21.67 kB / 0.6777 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.4395, allocations: 1.156 kB / 0.6777 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.4397, allocations: 96.52 kB / 0.6778 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.4397, allocations: 13.3 kB / 0.6778 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.4397, allocations: 7.781 kB / 0.6778 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.4399, allocations: 74.8 kB / 0.6779 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4399, allocations: 0 / 0.6779 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4399, allocations: 1.25 kB / 0.6779 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4399, allocations: 0 / 0.6779 GB, free: 15.79 MB / 0.5137 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.0005041/0.4404, allocations: 343.7 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4405, allocations: 9.188 kB / 0.6782 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4405, allocations: 10.94 kB / 0.6782 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.4406, allocations: 165.4 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4406, allocations: 6.562 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4407, allocations: 7.531 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4408, allocations: 65.28 kB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4408, allocations: 1.281 kB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4408, allocations: 0 / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.4408, allocations: 1 kB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.4409, allocations: 21.45 kB / 0.6785 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.4411, allocations: 166 kB / 0.6786 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4412, allocations: 56.22 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.4412, allocations: 36.41 kB / 0.6787 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/0.4417, allocations: 0.5574 MB / 0.6792 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4417, allocations: 44.86 kB / 0.6793 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.4417, allocations: 0 / 0.6793 GB, free: 14.16 MB / 0.5137 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.01976/0.4615, allocations: 4.376 MB / 0.6836 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4615, allocations: 52.56 kB / 0.6836 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.4616, allocations: 95.45 kB / 0.6837 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.4617, allocations: 31.3 kB / 0.6837 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.4618, allocations: 80.14 kB / 0.6838 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4619, allocations: 54.14 kB / 0.6839 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4621, allocations: 92.19 kB / 0.684 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4623, allocations: 320.7 kB / 0.6843 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.4628, allocations: 309.9 kB / 0.6846 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.4633, allocations: 311.7 kB / 0.6849 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4649, allocations: 0.7767 MB / 0.6856 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4649, allocations: 0 / 0.6856 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001491/0.4664, allocations: 0.8044 MB / 0.6864 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4664, allocations: 5.625 kB / 0.6864 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4664, allocations: 0 / 0.6864 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4664, allocations: 0 / 0.6864 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/0.4673, allocations: 88.05 kB / 0.6865 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4673, allocations: 1.188 kB / 0.6865 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.4679, allocations: 13.84 kB / 0.6865 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.468, allocations: 39.28 kB / 0.6865 GB, free: 9.871 MB / 0.5137 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.00022/0.4682, allocations: 126.1 kB / 0.6867 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/0.4683, allocations: 2.688 kB / 0.6867 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.4714, allocations: 1.401 MB / 0.688 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4714, allocations: 7.062 kB / 0.688 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4714, allocations: 0 / 0.688 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4715, allocations: 3.984 kB / 0.688 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.4745, allocations: 1.808 MB / 0.6898 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4745, allocations: 3.938 kB / 0.6898 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.4753, allocations: 111.9 kB / 0.6899 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4754, allocations: 3.984 kB / 0.6899 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.4754, allocations: 35.92 kB / 0.69 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4755, allocations: 7.969 kB / 0.69 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4755, allocations: 0 / 0.69 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.4779, allocations: 1.463 MB / 0.6914 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.478, allocations: 96.92 kB / 0.6915 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.4781, allocations: 11.94 kB / 0.6915 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.4786, allocations: 12 kB / 0.6915 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.4787, allocations: 44.03 kB / 0.6915 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.125e-05/0.4788, allocations: 31.98 kB / 0.6916 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.4789, allocations: 75.28 kB / 0.6916 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4789, allocations: 0 / 0.6916 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005845/0.4795, allocations: 176 kB / 0.6918 GB, free: 5.375 MB / 0.5137 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.0005878/0.4801, allocations: 231 kB / 0.692 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.4813, allocations: 0.7223 MB / 0.6927 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4813, allocations: 4.094 kB / 0.6927 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.482, allocations: 455.7 kB / 0.6932 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4824, allocations: 16.52 kB / 0.6932 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.4857, allocations: 0.8005 MB / 0.694 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.486, allocations: 0.7182 MB / 0.6947 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009963/0.487, allocations: 293.5 kB / 0.695 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.4876, allocations: 87.41 kB / 0.695 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.4876, allocations: 4 kB / 0.695 GB, free: 2 MB / 0.5137 GB Notification: Performance of Templates: time 0.01564/0.5032, allocations: 11.29 MB / 0.7061 GB, free: 6.785 MB / 0.5294 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)