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.001361/0.00136, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.444/1.444, allocations: 222.9 MB / 240.3 MB, free: 4.363 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.095/1.095, allocations: 143 MB / 433.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5956 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.467, allocations: 82.03 MB / 0.6757 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001816/0.4689, allocations: 0.6257 MB / 0.6763 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.4705, allocations: 1.285 MB / 0.6775 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.4705, allocations: 4 kB / 0.6775 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.4706, allocations: 3.938 kB / 0.6775 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.749e-05/0.4706, allocations: 0 / 0.6775 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.4711, allocations: 73.98 kB / 0.6776 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.4712, allocations: 23.78 kB / 0.6776 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.4713, allocations: 5.984 kB / 0.6776 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.4713, allocations: 9.344 kB / 0.6776 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.4714, allocations: 16.14 kB / 0.6777 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.4714, allocations: 2.25 kB / 0.6777 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.4717, allocations: 104.2 kB / 0.6778 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.4717, allocations: 9.016 kB / 0.6778 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.4717, allocations: 15.33 kB / 0.6778 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.4719, allocations: 69.25 kB / 0.6779 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4719, allocations: 0 / 0.6779 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4719, allocations: 0 / 0.6779 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.472, allocations: 1.156 kB / 0.6779 GB, free: 15.85 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.0005105/0.4725, allocations: 355.3 kB / 0.6782 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4725, allocations: 9.156 kB / 0.6782 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.4726, allocations: 7.25 kB / 0.6782 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4727, allocations: 161.5 kB / 0.6784 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4728, allocations: 2.594 kB / 0.6784 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.4728, allocations: 3.75 kB / 0.6784 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.473, allocations: 61.23 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.473, allocations: 3.938 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.473, allocations: 1 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.473, allocations: 1.312 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.4731, allocations: 20.92 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.4733, allocations: 169.7 kB / 0.6786 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4735, allocations: 55.94 kB / 0.6787 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.4735, allocations: 28.98 kB / 0.6787 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.4741, allocations: 0.5693 MB / 0.6793 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.4741, allocations: 43.62 kB / 0.6793 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4741, allocations: 5.094 kB / 0.6793 GB, free: 14.2 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.01995/0.4941, allocations: 4.367 MB / 0.6836 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4942, allocations: 57.06 kB / 0.6836 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.4942, allocations: 91.45 kB / 0.6837 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.4943, allocations: 31.36 kB / 0.6837 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.4944, allocations: 80.14 kB / 0.6838 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4945, allocations: 57.64 kB / 0.6839 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.4947, allocations: 92.62 kB / 0.684 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.495, allocations: 321.3 kB / 0.6843 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.4955, allocations: 310 kB / 0.6846 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.4961, allocations: 319.3 kB / 0.6849 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4977, allocations: 0.7668 MB / 0.6856 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4978, allocations: 0 / 0.6856 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001645/0.4994, allocations: 0.805 MB / 0.6864 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4994, allocations: 4.656 kB / 0.6864 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4995, allocations: 0 / 0.6864 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4995, allocations: 1.156 kB / 0.6864 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.5003, allocations: 92.67 kB / 0.6865 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5004, allocations: 5.188 kB / 0.6865 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.5009, allocations: 5.375 kB / 0.6865 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.501, allocations: 43.88 kB / 0.6865 GB, free: 9.906 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.0001926/0.5012, allocations: 124.5 kB / 0.6867 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.5013, allocations: 8.359 kB / 0.6867 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.5046, allocations: 1.4 MB / 0.688 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5046, allocations: 4.5 kB / 0.688 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5046, allocations: 0 / 0.688 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5046, allocations: 3.984 kB / 0.688 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.5076, allocations: 1.813 MB / 0.6898 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5076, allocations: 4 kB / 0.6898 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008177/0.5085, allocations: 107.9 kB / 0.6899 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5085, allocations: 0 / 0.6899 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.5086, allocations: 39.95 kB / 0.69 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5086, allocations: 0 / 0.69 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5086, allocations: 0 / 0.69 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.511, allocations: 1.471 MB / 0.6914 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.5111, allocations: 92.95 kB / 0.6915 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.5112, allocations: 7.938 kB / 0.6915 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.5117, allocations: 12 kB / 0.6915 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.5119, allocations: 51.97 kB / 0.6916 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.5119, allocations: 31.98 kB / 0.6916 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.512, allocations: 75.28 kB / 0.6917 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.512, allocations: 4 kB / 0.6917 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000588/0.5126, allocations: 175.7 kB / 0.6918 GB, free: 5.367 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.0005167/0.5131, allocations: 230.7 kB / 0.692 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.5144, allocations: 0.7239 MB / 0.6928 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5144, allocations: 4 kB / 0.6928 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.5151, allocations: 455.7 kB / 0.6932 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.5154, allocations: 12 kB / 0.6932 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.5188, allocations: 0.8 MB / 0.694 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.5191, allocations: 0.7182 MB / 0.6947 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00106/0.5202, allocations: 289.5 kB / 0.695 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.5208, allocations: 99.41 kB / 0.6951 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.5208, allocations: 0 / 0.6951 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.01603/0.5368, allocations: 11.28 MB / 0.7061 GB, free: 6.781 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)